Optionalmillisecond: numberOptionaltzoffsetMinutes: numberOptionalrawValue: stringOptionalzoneName: stringOptionalinferredZone: booleanReadonlydayReadonlyhourOptional ReadonlyinferredOptional ReadonlymillisecondReadonlyminuteReadonlymonthOptional ReadonlyrawReadonlysecondOptional ReadonlytzoffsetReadonlyyearReadonlyzoneOptional ReadonlyzoneOptionalopts: ZoneOptions & { inferredZone?: boolean }CAUTION: This instance will inherit the system timezone if this instance has an unset zone (as Luxon doesn't support "unset" timezones)
OptionaloverrideZone: Maybe<string>OptionaloverrideZone: Maybe<string>the epoch milliseconds of this
StaticfromOptionaldefaultZone: Maybe<string>StaticfromStaticfromTry to parse a date-time string from EXIF. If there is not both a date
and a time component, returns undefined.
from EXIF metadata
OptionaldefaultZone: Maybe<string>a "zone name" to use as a backstop, or default, if
text doesn't specify a zone. This may be IANA-formatted, like
"America/Los_Angeles", or an offset, like "UTC-3". See
offsetMinutesToZoneName.
StaticfromOptionaldefaultZone: Maybe<string>StaticfromParse the given date-time string, EXIF-formatted.
from EXIF metadata, in y:M:d H:m:s format (with optional
sub-seconds and/or timezone)
OptionaldefaultZone: Maybe<string>a "zone name" to use as a backstop, or default, if
text doesn't specify a zone. This may be IANA-formatted, like
"America/Los_Angeles", or an offset, like "UTC-3". See
offsetMinutesToZoneName.
StaticfromOptionaldefaultZone: Maybe<string>Staticfroma new ExifDateTime from the given JSON. Note that this instance may not be valid.
StaticfromCreate an ExifDateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
a number of milliseconds since 1970 UTC
the original parsed string input
the zone to place the DateTime into. Defaults to 'local'.
a locale to set on the resulting DateTime instance
the output calendar to set on the resulting DateTime instance
the numbering system to set on the resulting DateTime instance
OptionalrawValue?: stringthe original parsed string input
Staticnow
Encapsulates encoding and decoding EXIF date and time strings, along with timezone handling functionality.
Key features:
EXIF datetime strings don't typically include timezone information. This class provides mechanisms to associate timezone data from other EXIF tags (like GPS position or timezone offset), and distinguishes between explicitly set and inferred timezone information.