abstract_api.timezone.current_timezone_response module#

class abstract_api.timezone.current_timezone_response.CurrentTimezoneResponse(response: Response)[source]#

Bases: JSONResponse

Current timezone service response.

property datetime: str | None#

The current date and time of the requested_location.

property gmt_offset: int | None#

Timezone’s offset from Greenwich Mean Time (GMT).

Read more: https://greenwichmeantime.com/what-is-gmt

property is_dst: bool | None#

Whether the location is currently in Daylight Savings Time (DST).

Read more: https://wikipedia.org/wiki/Daylight_saving_time

property latitude: float | None#

Decimal of the longitude found for the requested_location.

property longitude: float | None#

Decimal of the longitude found for the requested_location.

property requested_location: str | None#

The location from the request.

property timezone_abbreviation: str | None#

Timezone’s abbreviation, also from IANA Time Zone Database.

property timezone_location: str | None#

Timezone’s location.

property timezone_name: str | None#

Timezone’s name from IANA Time Zone Database.

Read more: https://www.iana.org/time-zones