Defines | |
| #define | gl_localtime (*callback->time.local_datetime) |
| Convert a timestamp to a local date/time structure. | |
| #define | gl_mktime (*callback->time.mkdatetime) |
| Convert a timestamp to a date/time structure. | |
| #define | gl_parsetime (*callback->time.convert_to_timestamp) |
| Convert a string to a timestamp. | |
| #define | gl_strtime (*callback->time.strdatetime) |
| Convert a date/time structure to a string. | |
| #define | gl_todays (*callback->time.timestamp_to_days) |
| Convert a timestamp to days. | |
| #define | gl_tohours (*callback->time.timestamp_to_hours) |
| Convert a timestamp to hours. | |
| #define | gl_tominutes (*callback->time.timestamp_to_minutes) |
| Convert a timestamp to minutes. | |
| #define | gl_toseconds (*callback->time.timestamp_to_seconds) |
| Convert a timestamp to seconds. | |
| #define gl_localtime (*callback->time.local_datetime) |
Convert a timestamp to a local date/time structure.
Definition at line 806 of file gridlabd.h.
Referenced by metrics::start_event(), comm::sync(), and climate::sync().
| #define gl_mktime (*callback->time.mkdatetime) |
Convert a timestamp to a date/time structure.
Definition at line 776 of file gridlabd.h.
| #define gl_parsetime (*callback->time.convert_to_timestamp) |
Convert a string to a timestamp.
Definition at line 769 of file gridlabd.h.
| #define gl_strtime (*callback->time.strdatetime) |
Convert a date/time structure to a string.
Definition at line 781 of file gridlabd.h.
Referenced by metrics::start_event(), and comm::sync().
| #define gl_todays (*callback->time.timestamp_to_days) |
Convert a timestamp to days.
Definition at line 786 of file gridlabd.h.
| #define gl_tohours (*callback->time.timestamp_to_hours) |
Convert a timestamp to hours.
Definition at line 791 of file gridlabd.h.
Referenced by waterheater::presync(), house::presync(), waterheater::sync(), house::sync(), and battery::sync().
| #define gl_tominutes (*callback->time.timestamp_to_minutes) |
Convert a timestamp to minutes.
Definition at line 796 of file gridlabd.h.
| #define gl_toseconds (*callback->time.timestamp_to_seconds) |
Convert a timestamp to seconds.
Definition at line 801 of file gridlabd.h.