-
public final class ExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final YearMonthgetYearMonth()final YearMonthgetNextMonth()final YearMonthgetPreviousMonth()final static List<DayOfWeek>daysOfWeek(DayOfWeek firstDayOfWeek)Returns the days of week values such that the desired firstDayOfWeek property is at the start position. final static List<DayOfWeek>daysOfWeek()Returns the days of week values such that the desired firstDayOfWeek property is at the start position. final static DayOfWeekfirstDayOfWeekFromLocale()Returns the first day of the week from the default locale. final static LocalDateatStartOfMonth(YearMonth $self)Returns a LocalDate at the start of the month. -
-
Method Detail
-
getYearMonth
final YearMonth getYearMonth()
-
getNextMonth
final YearMonth getNextMonth()
-
getPreviousMonth
final YearMonth getPreviousMonth()
-
daysOfWeek
@JvmOverloads() final static List<DayOfWeek> daysOfWeek(DayOfWeek firstDayOfWeek)
Returns the days of week values such that the desired firstDayOfWeek property is at the start position.
-
daysOfWeek
@JvmOverloads() final static List<DayOfWeek> daysOfWeek()
Returns the days of week values such that the desired firstDayOfWeek property is at the start position.
-
firstDayOfWeekFromLocale
final static DayOfWeek firstDayOfWeekFromLocale()
Returns the first day of the week from the default locale.
-
atStartOfMonth
final static LocalDate atStartOfMonth(YearMonth $self)
Returns a LocalDate at the start of the month.
Complements YearMonth.atEndOfMonth.
-
-
-
-