Package-level declarations

Functions

Link copied to clipboard
fun LocalDate.atEndOfDay(): LocalDateTime
Link copied to clipboard
fun LocalDate.atStartOfDay(): LocalDateTime
Link copied to clipboard
fun LocalDate.compareDay(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.compareMonth(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.compareYear(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.getDayDifference(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.getDaysInMonth(): Int
Link copied to clipboard
fun LocalDate.getHourDifference(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.getLast(dayOfWeek: DayOfWeek, countingInThisDay: Boolean = false): LocalDate
Link copied to clipboard
fun LocalDate.getMilliSecondDifference(localDateB: LocalDate): Long
Link copied to clipboard
fun LocalDate.getMinuteDifference(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.getMonthBaseZero(): Int
Link copied to clipboard
fun LocalDate.getMonthDifference(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.getNext(dayOfWeek: DayOfWeek, countingInThisDay: Boolean = false): LocalDate
Link copied to clipboard
fun LocalDate.getSecondDifference(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.getYearDifference(localDateB: LocalDate): Int
Link copied to clipboard
fun LocalDate.isAfterDay(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isAfterEqualDay(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isAfterEqualMonth(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isAfterEqualYear(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isAfterMonth(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isAfterYear(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isBeforeDay(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isBeforeEqualDay(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isBeforeEqualMonth(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isBeforeEqualYear(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isBeforeMonth(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isBeforeYear(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isEqualDay(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isEqualMonth(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isEqualYear(localDateB: LocalDate): Boolean
Link copied to clipboard
fun LocalDate.isInLeapYear(): Boolean
Link copied to clipboard
fun LocalDate.minusDays(days: Int): LocalDate
Link copied to clipboard
fun LocalDate.minusMonths(months: Int): LocalDate
Link copied to clipboard
fun LocalDate.minusYears(years: Int): LocalDate
Link copied to clipboard
fun LocalDate.plusDays(days: Int): LocalDate
Link copied to clipboard
fun LocalDate.plusMonths(months: Int): LocalDate
Link copied to clipboard
fun LocalDate.plusYears(years: Int): LocalDate
Link copied to clipboard
fun LocalDate.print(format: String): String
Link copied to clipboard
fun String.toLocalDate(format: String? = null): LocalDate?

Works off of String representations of date, without time, nor time zone. When a format is present, it'll try parsing using that format alone, & return null if it fails.