Class TimezoneInfo

java.lang.Object
com.cercalia.sdk.model.reversegeocoding.TimezoneInfo

public final class TimezoneInfo extends Object
Timezone information returned when level='timezone'.
  • Method Details

    • builder

      public static TimezoneInfo.Builder builder()
    • getId

      @NotNull public @NotNull String getId()
      Returns the timezone ID (e.g., 'Europe/Madrid').
      Returns:
      the timezone ID
    • getName

      @NotNull public @NotNull String getName()
      Returns the human-readable timezone name.
      Returns:
      the timezone name
    • getLocalDateTime

      @NotNull public @NotNull String getLocalDateTime()
      Returns the local date/time at the coordinate.
      Returns:
      the local datetime
    • getUtcDateTime

      @NotNull public @NotNull String getUtcDateTime()
      Returns the UTC date/time.
      Returns:
      the UTC datetime
    • getUtcOffset

      public int getUtcOffset()
      Returns the UTC offset in seconds.
      Returns:
      the UTC offset
    • getDaylightSavingTime

      public int getDaylightSavingTime()
      Returns the daylight saving time offset in seconds.
      Returns:
      the DST offset
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object