Package: effect
Module: DateTime
Represents a DateTime with an associated TimeZone.
Details
A zoned value still represents an absolute instant through
epochMilliseconds, while the time zone is used for wall-clock parts,
formatting, and zone-aware transformations.
Signature
export interface Zoned extends DateTime.Proto {
readonly _tag: "Zoned"
readonly epochMilliseconds: number
readonly zone: TimeZone
adjustedEpochMilliseconds: number | undefined
partsAdjusted: DateTime.PartsWithWeekday | undefined
partsUtc: DateTime.PartsWithWeekday | undefined
}
Since v3.6.0