A time-zone ID, such as Europe/Paris.

See java.time.ZoneId for full documentation

Hierarchy

Constructors

Methods

  • Gets the set of available zone IDs.

    Returns Set<String>

  • Gets the unique time-zone ID.

    Returns String

  • Normalizes the time-zone ID, returning a ZoneOffset where possible.

    Returns ZoneId

  • Obtains an instance of ZoneId from a temporal object.

    Parameters

    Returns ZoneId

  • Obtains an instance of ZoneId from an ID ensuring that the ID is valid and available for use. US/Eastern: UTC-04:00 US/Central: UTC-05:00 US/Mountain: UTC-06:00 US/Pacific-New: UTC-07:00

    Parameters

    • zoneId: string

    Returns ZoneId

  • Obtains an instance of ZoneId using its ID using a map of aliases to supplement the standard zone IDs.

    Parameters

    • zoneId: string
    • aliasMap: Map<string, string>

    Returns ZoneId

  • Obtains an instance of ZoneId wrapping an offset.

    Parameters

    Returns ZoneId

  • Gets the system default time-zone.

    Returns ZoneId

Generated using TypeDoc