Interface TimeZone.Builder

    • Method Detail

      • name

        TimeZone.Builder name​(String name)

        The name of the time zone, following the IANA time zone standard. For example, America/Los_Angeles.

        Parameters:
        name - The name of the time zone, following the IANA time zone standard. For example, America/Los_Angeles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offset

        TimeZone.Builder offset​(Integer offset)

        The time zone's offset, in seconds, from UTC.

        Parameters:
        offset - The time zone's offset, in seconds, from UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.