VuoTimeUnit C type definition.
Definition in file VuoTimeUnit.h.
Go to the source code of this file.
Enumerations | |
enum | VuoTimeUnit { VuoTimeUnit_Millennium , VuoTimeUnit_Century , VuoTimeUnit_Decade , VuoTimeUnit_Year , VuoTimeUnit_Quarter , VuoTimeUnit_Month , VuoTimeUnit_WeekSunday , VuoTimeUnit_WeekMonday , VuoTimeUnit_Day , VuoTimeUnit_Hour , VuoTimeUnit_HalfHour , VuoTimeUnit_QuarterHour , VuoTimeUnit_Minute , VuoTimeUnit_Second } |
A delineation of time. More... | |
Functions | |
VuoTimeUnit | VuoTimeUnit_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. More... | |
struct 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... | |
VuoTimeUnit | VuoTimeUnit_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoTimeUnit_getString (const VuoTimeUnit value) |
Automatically generated function. More... | |
void | VuoTimeUnit_retain (VuoTimeUnit value) |
Automatically generated function. More... | |
void | VuoTimeUnit_release (VuoTimeUnit value) |
Automatically generated function. More... | |
#define | VuoList_VuoTimeUnit_TYPE_DEFINED |
List type. More... | |
typedef void * | VuoList_VuoTimeUnit |
List type. More... | |
#define VuoList_VuoTimeUnit_TYPE_DEFINED |
List type.
Definition at line 16 of file VuoTimeUnit.h.
typedef void* VuoList_VuoTimeUnit |
List type.
Definition at line 15 of file VuoTimeUnit.h.