Package-level declarations

Types

Link copied to clipboard
data class DatePeriodWithYears(val years: Int, val months: Int, val days: Int)
Link copied to clipboard
class LocalDateTimeSetup(val firstDayOfWeek: DayOfWeek = DayOfWeek.MONDAY, val timezone: TimeZone = TimeZone.currentSystemDefault())
Link copied to clipboard
data class YearWeek(val year: Int, val week: Int, val firstDayOfWeek: DayOfWeek = LocalDateTimeSetup.current.firstDayOfWeek) : Comparable<YearWeek> , Parcelable

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun String.between(from: String, to: String): String?
Link copied to clipboard
fun LocalDate.calendarWeek(firstDayOfWeek: DayOfWeek = LocalDateTimeSetup.current.firstDayOfWeek): Int
Link copied to clipboard
fun Modifier.disabled(applyAlpha: Boolean = true, applyGreyscale: Boolean = true): Modifier
Link copied to clipboard
fun LocalDate.endOfMonth(): LocalDate
Link copied to clipboard
fun LocalDate.endOfWeek(lastDayOfWeek: DayOfWeek = LocalDateTimeSetup.current.firstDayOfWeek): LocalDate
Link copied to clipboard
fun LocalDate.endOfYear(): LocalDate
Link copied to clipboard
fun LocalDate.Companion.fromCalendarWeek(year: Int, week: Int, day: DayOfWeek, firstDayOfWeek: DayOfWeek = LocalDateTimeSetup.current.firstDayOfWeek): LocalDate
Link copied to clipboard
fun LocalDateTime.Companion.fromMillis(millis: Long, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDateTime
Link copied to clipboard
fun LocalDate.getTimeBetween(other: LocalDate): DatePeriodWithYears
Link copied to clipboard
fun Modifier.greyscale(factor: Float = 1.0f): Modifier
Link copied to clipboard

Returns whether the lazy list is currently scrolling up.

Link copied to clipboard
fun LocalDateTime.millis(timezone: TimeZone = LocalDateTimeSetup.current.timezone): Long
Link copied to clipboard
fun LocalDate.minus(duration: Duration, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDate
fun LocalDateTime.minus(duration: Duration, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDateTime
fun LocalDate.minus(unit: DateTimeUnit, offset: Int, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDate
fun LocalDateTime.minus(unit: DateTimeUnit, offset: Int, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDateTime
Link copied to clipboard
fun <E : Enum<E>> Enum<E>.next(entries: List<E>): E
Link copied to clipboard
fun LocalDate.Companion.now(timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDate
fun LocalDateTime.Companion.now(timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDateTime
fun LocalTime.Companion.now(timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalTime
Link copied to clipboard
fun LocalDate.plus(duration: Duration, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDate
fun LocalDateTime.plus(duration: Duration, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDateTime
fun LocalDate.plus(unit: DateTimeUnit, offset: Int, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDate
fun LocalDateTime.plus(unit: DateTimeUnit, offset: Int, timezone: TimeZone = LocalDateTimeSetup.current.timezone): LocalDateTime
Link copied to clipboard
Link copied to clipboard
fun Double.round(commas: Int): Double
fun Float.round(commas: Int): Float
Link copied to clipboard
fun Float.roundToRange(from: Float, to: Float, epsilon: Float = 1.0E-6f): Float
Link copied to clipboard
Link copied to clipboard
fun LocalDate.startOfMonth(): LocalDate
Link copied to clipboard
fun LocalDate.startOfWeek(firstDayOfWeek: DayOfWeek = LocalDateTimeSetup.current.firstDayOfWeek): LocalDate
Link copied to clipboard
fun LocalDate.startOfYear(): LocalDate
Link copied to clipboard
fun <T> List<T>.toggle(item: T): MutableList<T>
fun <T> Set<T>.toggle(item: T, forceSingle: Boolean = false): MutableSet<T>
Link copied to clipboard
Link copied to clipboard
fun Long.toHumanReadableSI(commas: Int = 1): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Modifier.vertical(degrees: Float = -90f): Modifier
Link copied to clipboard
fun LocalDate.yearWeek(firstDayOfWeek: DayOfWeek = LocalDateTimeSetup.current.firstDayOfWeek): YearWeek