sunpeek.common.time_zone#

Functions

get_data_timezone(tz_offset_minutes)

Returns a pytz fixed-offset timezone, corresponding to winter time (no DST) in the given location.

get_timezone_offset_minutes(latitude, longitude)

Returns the offset in minutes between UTC and the local time zone (in winter time, no DST).

get_timezone_string(latitude, longitude)

Returns a time zone string for a given location.

process_timezone(tz[, plant])

validate_timezone(idx, timezone[, plant])

Validates timezone information, trying to match DataFrame timezone and timezone string.