GRASP rci-qed
Static Public Member Functions | List of all members
cpptoml::offset_datetime Struct Reference

#include <cpptoml.h>

Inheritance diagram for cpptoml::offset_datetime:
Inheritance graph
[legend]
Collaboration diagram for cpptoml::offset_datetime:
Collaboration graph
[legend]

Static Public Member Functions

static struct offset_datetime from_zoned (const struct tm &t)
 
static struct offset_datetime from_local (const struct tm &t)
 
static struct offset_datetime from_utc (const struct tm &t)
 

Additional Inherited Members

- Public Attributes inherited from cpptoml::local_date
int year = 0
 
int month = 0
 
int day = 0
 
- Public Attributes inherited from cpptoml::local_time
int hour = 0
 
int minute = 0
 
int second = 0
 
int microsecond = 0
 
- Public Attributes inherited from cpptoml::zone_offset
int hour_offset = 0
 
int minute_offset = 0
 

Member Function Documentation

◆ from_local()

static struct offset_datetime cpptoml::offset_datetime::from_local ( const struct tm &  t)
inlinestatic

◆ from_utc()

static struct offset_datetime cpptoml::offset_datetime::from_utc ( const struct tm &  t)
inlinestatic

◆ from_zoned()

static struct offset_datetime cpptoml::offset_datetime::from_zoned ( const struct tm &  t)
inlinestatic

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