Constructors

Link copied to clipboard
constructor(epochNanoseconds: BigInt, timeZone: TimeZoneLike, calendar: CalendarLike = definedExternally)

Properties

Link copied to clipboard
Link copied to clipboard
val day: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val era: String?
Link copied to clipboard
val eraYear: Int?
Link copied to clipboard
val hour: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val minute: Int
Link copied to clipboard
val month: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val second: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val year: Int
Link copied to clipboard

Functions

Link copied to clipboard
open fun add(duration: Duration, options: ArithmeticOptions = definedExternally): ZonedDateTime
open fun add(duration: DurationLike, options: ArithmeticOptions = definedExternally): ZonedDateTime
open fun add(duration: String, options: ArithmeticOptions = definedExternally): ZonedDateTime
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun round(roundTo: RoundTo<DateTimeUnit<*>>): ZonedDateTime
Link copied to clipboard
open fun since(other: String, options: DifferenceOptions<DateTimeUnit<*>>): Duration
Link copied to clipboard
Link copied to clipboard
open fun subtract(duration: Duration, options: ArithmeticOptions = definedExternally): ZonedDateTime
open fun subtract(duration: DurationLike, options: ArithmeticOptions = definedExternally): ZonedDateTime
open fun subtract(duration: String, options: ArithmeticOptions = definedExternally): ZonedDateTime
Link copied to clipboard
Link copied to clipboard
fun toJSON(): String
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toString(options: ZonedDateTimeToStringOptions = definedExternally): String
Link copied to clipboard
open fun until(other: String, options: DifferenceOptions<DateTimeUnit<*>>): Duration
Link copied to clipboard
fun with(zonedDateTimeLike: ZonedDateTimeLike, options: ZonedDateTimeAssignmentOptions = definedExternally): ZonedDateTime
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun withPlainTime(timeLike: PlainTime = definedExternally): ZonedDateTime
Link copied to clipboard