Class TimezoneInfo
java.lang.Object
com.cercalia.sdk.model.reversegeocoding.TimezoneInfo
Timezone information returned when level='timezone'.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TimezoneInfo.Builderbuilder()booleanintReturns the daylight saving time offset in seconds.@NotNull StringgetId()Returns the timezone ID (e.g., 'Europe/Madrid').@NotNull StringReturns the local date/time at the coordinate.@NotNull StringgetName()Returns the human-readable timezone name.@NotNull StringReturns the UTC date/time.intReturns the UTC offset in seconds.inthashCode()toString()
-
Method Details
-
builder
-
getId
Returns the timezone ID (e.g., 'Europe/Madrid').- Returns:
- the timezone ID
-
getName
Returns the human-readable timezone name.- Returns:
- the timezone name
-
getLocalDateTime
Returns the local date/time at the coordinate.- Returns:
- the local datetime
-
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
-
hashCode
public int hashCode() -
toString
-