DateBased

sealed class DateBased : DateTimeUnit

A date-time unit equal to some number of days or months.

Operations involving DateBased units are performed on dates. The same operations on Instants require a TimeZone to find the corresponding LocalDateTimes first to perform the operation with the date component of these LocalDateTime values.

Functions

Link copied to clipboard
abstract operator fun times(scalar: Int): DateTimeUnit

Produces a date-time unit that is a multiple of this unit times the specified integer scalar value.

Inheritors

Link copied to clipboard
Link copied to clipboard