CalendarProtocol

Inheritors

Types

Properties

Link copied to clipboard
abstract val id: String

Functions

Link copied to clipboard
abstract fun dateAdd(date: PlainDate, duration: Duration, options: ArithmeticOptions = definedExternally): PlainDate
Link copied to clipboard
abstract fun dateFromFields(fields: CalendarProtocol.DateFromFields, options: AssignmentOptions = definedExternally): PlainDate
Link copied to clipboard
abstract fun dateUntil(one: PlainDate, two: PlainDate, options: DifferenceOptions<DateUnit<*>> = definedExternally): Duration
Link copied to clipboard
abstract fun day(date: JsAny): Int
Link copied to clipboard
abstract fun dayOfWeek(date: JsAny): Int
Link copied to clipboard
abstract fun dayOfYear(date: JsAny): Int
Link copied to clipboard
abstract fun daysInMonth(date: JsAny): Int
Link copied to clipboard
abstract fun daysInWeek(date: JsAny): Int
Link copied to clipboard
abstract fun daysInYear(date: JsAny): Int
Link copied to clipboard
abstract fun era(date: JsAny): String?
Link copied to clipboard
abstract fun eraYear(date: JsAny): Int?
Link copied to clipboard
abstract fun fields(fields: JsIterable<JsString>): JsIterable<JsString>
Link copied to clipboard
abstract fun inLeapYear(date: JsAny): Boolean
Link copied to clipboard
abstract fun mergeFields(fields: Record<JsString, *>, additionalFields: Record<JsString, *>): Record<JsString, *>
Link copied to clipboard
abstract fun month(date: JsAny): Int
Link copied to clipboard
abstract fun monthCode(date: JsAny): String
Link copied to clipboard
abstract fun monthDayFromFields(fields: CalendarProtocol.MonthDayFromFields, options: AssignmentOptions = definedExternally): PlainMonthDay
Link copied to clipboard
abstract fun monthsInYear(date: JsAny): Int
Link copied to clipboard
abstract fun weekOfYear(date: JsAny): Int
Link copied to clipboard
abstract fun year(date: JsAny): Int
Link copied to clipboard
Link copied to clipboard
abstract fun yearOfWeek(date: JsAny): Int