Provides access to the system time zone information.
Description
Gets the system's current SbTimeZone in minutes.
Declaration and definitions
#include "starboard/time_zone.h" SbTimeZone SbTimeZoneGetCurrent() { return 0; }
Description
Gets the three-letter code of the current timezone in Daylight Savings Time, regardless of current DST status. (e.g. “PDT”)
Declaration and definitions
#include "starboard/time_zone.h" #if SB_API_VERSION < 6 const char* SbTimeZoneGetDstName() { return "GMT"; } #endif // SB_API_VERSION < 6
Description
Gets the three-letter code of the current timezone in standard time, regardless of current Daylight Savings Time status. (e.g. “PST”) Gets a string representation of the current timezone. Note that the string representation can either be standard or daylight saving time. The output can be of the form:
Declaration and definitions
#include "starboard/time_zone.h" const char* SbTimeZoneGetName() { return "GMT"; }