[][src]Module sunrise_time::timezone

TimeZone module

This module takes care of anything related with timezone.

Structs

TimeZoneFile

Represent a file inside a TimeZoneFileSystem.

TimeZoneFileSystem

Represent the file I/O interface with tzdata.

TimeZoneManager

Global instance handling I/O and storage of the device rules.

TimeZoneService

TimeZone service object.

Statics

TIMEZONE_ARCHIVE

The internal timezone filesystem content.

TZ_MANAGER

Global instance of TimeZoneManager

ZEROED_TIME_ZONE_RULE

Global clear instance of TimeZoneRule used to avoid copying 16KB on the stack.

Functions

calendar_to_ipc

Convert a libtimezone CalendarInfo to a IPC CalendarTime and CalendarAdditionalInfo type.

calendar_to_tzlib

Convert a IPC CalendarTime type to a libtimezone CalendarInfo.

to_timezone_to_time_error

Convert a libtimezone TimeZoneError to a IPC Error type.

Type Definitions

IpcResult

A IPC result.