ztsdb
Public Types | Public Member Functions | List of all members
tz::period Struct Reference

Public Types

typedef int32_t month_t
 
typedef int32_t day_t
 

Public Member Functions

 period (int32_t months_p, int32_t days_p, Global::duration dur_p)
 
 period (const std::string &s)
 
int32_t getMonths () const
 
int32_t getDays () const
 
Global::duration getDuration () const
 
void setMonths (int64_t m)
 
void setDays (int64_t d)
 
void setDuration (Global::duration d)
 
void addMonths (int64_t m)
 
void addDays (int64_t d)
 
void addDuration (Global::duration d)
 
bool operator== (const period &p)
 
bool operator!= (const period &p)
 

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