libdcp
Public Member Functions | Private Attributes | List of all members
dcp::UTCOffset Class Reference

Public Member Functions

 UTCOffset (int hour, int minute)
 
int hour () const
 
int minute () const
 
void set_hour (int hour)
 
void set_minute (int hour)
 

Private Attributes

int _hour = 0
 
int _minute = 0
 

Detailed Description

Definition at line 42 of file utc_offset.h.

Member Data Documentation

◆ _hour

int dcp::UTCOffset::_hour = 0
private

offset such that the equivalent time in UTC can be calculated by doing local_time - (_hour, _minute). For example: local time UTC _hour _minute 09:00 10:00 -1 0 09:00 10:30 -1 -30 03:00 02:00 1 0 03:00 01:30 1 30

Definition at line 71 of file utc_offset.h.


The documentation for this class was generated from the following files: