Skip to content

zoned/get

  • getDstTransitions: List every DST transition instant for a time zone (an IANA name or a UTC offset) within a given year.
  • getSystemTimeZone: Return the runtime system timeZone name (for example “America/New_York”).
  • getTimeZoneOffset: Return a time zone’s UTC offset at a given instant.
  • getTimeZones: Return the array of all available IANA timezone identifiers.
  • getZonedDay: Return the current day of month for the specified IANA timeZone.
  • getZonedDayOfWeek: Return the current day of week for the specified IANA timeZone.
  • getZonedHour: Return the current hour for the specified IANA timeZone.
  • getZonedMicrosecond: Return the current microsecond for the specified IANA timeZone.
  • getZonedMillisecond: Return the current millisecond for the specified IANA timeZone.
  • getZonedMinute: Return the current minute for the specified IANA timeZone.
  • getZonedMonth: Return the current month for the specified IANA timeZone.
  • getZonedNanosecond: Return the current nanosecond for the specified IANA timeZone.
  • getZonedNow: Return the current zoned datetime for the specified IANA timeZone.
  • getZonedNowUnit: Return the requested current unit value for the specified IANA timeZone.
  • getZonedSecond: Return the current second for the specified IANA timeZone.
  • getZonedToday: Return today’s date in the given IANA timeZone as an ISO date string.
  • getZonedWeekOfYear: Return the current week of year for the specified IANA timeZone.
  • getZonedYear: Return the current year for the specified IANA timeZone.
  • DstTransition: A single DST transition instant: the UTC instant of an offset change plus the offset in effect immediately before and after it.
  • ZonedNowUnit: Units extractable from the current time in a specific IANA timeZone, as consumed by getZonedNowUnit.