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 616 of file gridlabd.h.
Referenced by comm::sync(), climate::sync(), and house::sync_hvac_load().
| #define gl_mktime (*callback->time.mkdatetime) |
Convert a timestamp to a date/time structure.
Definition at line 586 of file gridlabd.h.
Referenced by climate_module_test::test_tmy2().
| #define gl_parsetime (*callback->time.convert_to_timestamp) |
Convert a string to a timestamp.
Definition at line 581 of file gridlabd.h.
Referenced by residential_test::clotheswasher_test(), residential_test::house_test(), residential_test::lights_test(), residential_test::waterheater_test(), write_collector(), and write_recorder().
| #define gl_strtime (*callback->time.strdatetime) |
Convert a date/time structure to a string.
Definition at line 591 of file gridlabd.h.
Referenced by comm::sync().
| #define gl_todays (*callback->time.timestamp_to_days) |
Convert a timestamp to days.
Definition at line 596 of file gridlabd.h.
| #define gl_tohours (*callback->time.timestamp_to_hours) |
Convert a timestamp to hours.
Definition at line 601 of file gridlabd.h.
Referenced by residential_test::clotheswasher_test(), residential_test::house_test(), residential_test::lights_test(), refrigerator::sync(), range::sync(), plugload::sync(), microwave::sync(), lights::sync(), house::sync(), dishwasher::sync(), clotheswasher::sync(), waterheater::thermostat(), and residential_test::waterheater_test().
| #define gl_tominutes (*callback->time.timestamp_to_minutes) |
Convert a timestamp to minutes.
Definition at line 606 of file gridlabd.h.
| #define gl_toseconds (*callback->time.timestamp_to_seconds) |
Convert a timestamp to seconds.
Definition at line 611 of file gridlabd.h.