Optional
millisecond: numberOptional
tzoffsetMinutes: numberOptional
rawValue: stringOptional
zoneName: stringOptional
inferredZone: booleanReadonly
dayReadonly
hourOptional
Readonly
inferredOptional
Readonly
millisecondReadonly
minuteReadonly
monthOptional
Readonly
rawReadonly
secondOptional
Readonly
tzoffsetReadonly
yearReadonly
zoneOptional
Readonly
zoneOptional
opts: ZoneOptions & { CAUTION: This instance will inherit the system timezone if this instance has an unset zone (as Luxon doesn't support "unset" timezones)
Optional
overrideZone: Maybe<string>Optional
overrideZone: Maybe<string>Static
fromOptional
defaultZone: Maybe<string>Static
fromStatic
fromEXIFTry to parse a date-time string from EXIF. If there is not both a date
and a time component, returns undefined
.
from EXIF metadata
Optional
defaultZone: 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
.
Static
fromStatic
fromParse 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)
Optional
defaultZone: 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
.
Static
fromISOOptional
defaultZone: Maybe<string>Static
fromJSONa new ExifDateTime from the given JSON. Note that this instance may not be valid.
Static
fromCreate 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
Static
now
Encodes an ExifDateTime with an optional tz offset in minutes.