OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C API referencev12.0

optris_sdk_ravi_time_zone

The time zone the PC that recorded a .ravi was in. Call optris_sdk_ravi_time_zone_init() first. Mirrors rec::RaviTimeZone.

A .ravi stores its start as that PC's local clock, with no zone. Give name (an IANA zone name such as "Europe/Berlin"; daylight saving time follows the zone's rules for the recording's date) or a fixed offset, not both. The zone database is the platform's own: the system's on Linux, the one Windows 10 version 1903 and later carry on Windows. A NULL zone where one is taken, or one with neither set, means this computer's zone, which a conversion then marks as assumed.

Public attributes

struct_size

uint32_t struct_size

Set by optris_sdk_ravi_time_zone_init().

has_utc_offset

int32_t has_utc_offset

Non-zero when utc_offset_minutes is given.

utc_offset_minutes

int32_t utc_offset_minutes

The fixed offset from UTC, in minutes east, -1080 to +1080.

reserved0

uint32_t reserved0

Set to zero.

name

const char * name

The IANA zone name, UTF-8, or NULL. Read during the call only.