Date
Parameters
year
the year
month
the month
day
the day of the month
Throws
if the year or day is invalid
Constructors
Types
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
copy
Link copied to clipboard
minus
Link copied to clipboard
plus
Link copied to clipboard
Properties
dayOfMonth
Link copied to clipboard
dayOfUnixEpoch
Link copied to clipboard
daysSinceUnixEpoch
Link copied to clipboard
monthNumber
Link copied to clipboard
Extensions
at
Link copied to clipboard
downTo
Link copied to clipboard
endOfDayAt
Link copied to clipboard
The ZonedDateTime at the last representable instant of the day in zone, taking into account any daylight savings transitions.
endOfMonth
Link copied to clipboard
endOfWeek
Link copied to clipboard
isInLeapYear
Link copied to clipboard
lengthOfMonth
Link copied to clipboard
lengthOfWeekBasedYear
Link copied to clipboard
lengthOfYear
Link copied to clipboard
nextOrSame
Link copied to clipboard
previousOrSame
Link copied to clipboard
startOfDay
Link copied to clipboard
startOfDayAt
Link copied to clipboard
The ZonedDateTime at the start of the day in zone, taking into account any daylight savings transitions.
startOfMonth
Link copied to clipboard
startOfWeek
Link copied to clipboard
startOfYear
Link copied to clipboard
toJavaLocalDate
Link copied to clipboard
toNSDateComponents
Link copied to clipboard
fun Date.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS>
Content copied to clipboard
toWeekDate
Link copied to clipboard
inline fun <T> Date.toWeekDate(settings: WeekSettings, action: (year: Int, week: Int, day: Int) -> T): T
Content copied to clipboard
toYearMonth
Link copied to clipboard
week
Link copied to clipboard
weekBasedYear
Link copied to clipboard
weekOfMonth
Link copied to clipboard
weekOfWeekBasedYear
Link copied to clipboard
weekOfYear
Link copied to clipboard