VuoTimeUnit implementation.
Definition in file VuoTimeUnit.c.
Go to the source code of this file.
Functions | |
VuoTimeUnit | VuoTimeUnit_makeFromJson (json_object *js) |
Decodes the JSON object js to create a new value. More... | |
json_object * | VuoTimeUnit_getJson (const VuoTimeUnit value) |
Encodes value as a JSON object. More... | |
VuoList_VuoTimeUnit | VuoTimeUnit_getAllowedValues (void) |
Returns a list of values that instances of this type can have. More... | |
char * | VuoTimeUnit_getSummary (const VuoTimeUnit value) |
Returns a compact string representation of value . More... | |
VuoInteger | VuoTimeUnit_getSeconds (const VuoTimeUnit value) |
Returns the number of seconds the specified time unit is worth. More... | |
bool | VuoTimeUnit_areEqual (const VuoTimeUnit valueA, const VuoTimeUnit valueB) |
Returns true if the two values are equal. More... | |
bool | VuoTimeUnit_isLessThan (const VuoTimeUnit valueA, const VuoTimeUnit valueB) |
Returns true if valueA is less than valueB . More... | |