Interface TimeZone.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TimeZone.Builder,TimeZone>, SdkBuilder<TimeZone.Builder,TimeZone>, SdkPojo
Enclosing class:
TimeZone

public static interface TimeZone.Builder extends SdkPojo, CopyableBuilder<TimeZone.Builder,TimeZone>
  • Method Details

    • 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.