Class TimeZoneInfo

See the Rust documentation for TimeZoneInfo for more information.

Constructors

Accessors

Methods

  • Sets the datetime at which to interpret the time zone for display name lookup.

    Notes:

    • If not set, the formatting datetime is used if possible.
    • If the offset is not set, the datetime is interpreted as UTC.
    • The constraints are the same as with ZoneNameTimestamp in Rust.
    • Set to year 1000 or 9999 for a reference far in the past or future.

    See the Rust documentation for at_date_time_iso for more information.

    Additional information: 1

    Parameters

    Returns TimeZoneInfo

  • Sets the timestamp, in milliseconds since Unix epoch, at which to interpret the time zone for display name lookup.

    Notes:

    • If not set, the formatting datetime is used if possible.
    • The constraints are the same as with ZoneNameTimestamp in Rust.

    See the Rust documentation for with_zone_name_timestamp for more information.

    Additional information: 1, 2

    Parameters

    • timestamp: bigint

    Returns TimeZoneInfo