Class TimeZone

See the Rust documentation for TimeZone for more information.

Methods

  • Creates a time zone from a BCP-47 string.

    Returns the unknown time zone if the string is not a valid BCP-47 subtag.

    Additional information: 1

    Parameters

    • id: string

    Returns TimeZone

  • Whether the time zone is the unknown zone.

    See the Rust documentation for is_unknown for more information.

    Returns boolean