Time period to use for the display of a frame. More...
#include <time-period.h>
Public Types | |
enum | { LIVE = 0, SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR, LAST_TIME_PERIOD_T } |
Data Fields | |
enum time_period_t:: { ... } | type |
int | value |
Time period to use for the display of a frame.
Represents the time range to use for the frame (for instance, 1 day, 3 weeks) It is made of two components: one sets the time unit to use, the other one sets the value. For instance, the unit may be week and the value 3, this will be a 3 weeks time period.
Definition at line 42 of file time-period.h.
anonymous enum |
Definition at line 43 of file time-period.h.
enum { ... } time_period_t::type |
Unit of time to use for the time period (Live means real time)
Amount of time units (ie. seconds/months...) for this time period
Definition at line 54 of file time-period.h.