Class TimezoneResult
java.lang.Object
com.cercalia.sdk.model.reversegeocoding.TimezoneResult
Timezone-specific result (no geographic element, only timezone data).
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TimezoneResult.Builderbuilder()boolean@NotNull CoordinategetCoord()Returns the input coordinate used for the query.intReturns 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
-
getCoord
Returns the input coordinate used for the query.- Returns:
- the coordinate
-
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
-