PlainMonthDay
external class PlainMonthDay(isoMonth: Int, isoDay: Int, calendar: CalendarLike = definedExternally, referenceISOYear: Int = definedExternally) : Localizable<DateTimeFormatOptions> , CalendarLike(source)
A Temporal.PlainMonthDay
represents a particular day on the calendar, but without a year. For example, it could be used to represent a yearly recurring event, like "Bastille Day is on the 14th of July."
See https://tc39.es/proposal-temporal/docs/monthday.html for more details.
Constructors
Link copied to clipboard
constructor(isoMonth: Int, isoDay: Int, calendar: CalendarLike = definedExternally, referenceISOYear: Int = definedExternally)
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a value as a string value appropriate to the host environment's current locale.
open fun toLocaleString(locales: Locale, options: DateTimeFormatOptions = definedExternally): String
open fun toLocaleString(locales: ReadonlyArray<Locale>, options: DateTimeFormatOptions = definedExternally): String
open fun toLocaleString(locales: ReadonlyArray<UnicodeBCP47LocaleIdentifier>, options: DateTimeFormatOptions = definedExternally): String
open fun toLocaleString(locales: UnicodeBCP47LocaleIdentifier, options: DateTimeFormatOptions = definedExternally): String
Converts a value to a string by using the current or specified locale.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun with(monthDayLike: PlainMonthDayLike, options: AssignmentOptions = definedExternally): PlainMonthDay