Vuo
1.2.7
|
A delineation of time.
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... | |
enum VuoTimeUnit |
A delineation of time.
bool VuoTimeUnit_areEqual | ( | const VuoTimeUnit | valueA, |
const VuoTimeUnit | valueB | ||
) |
Returns true if the two values are equal.
VuoList_VuoTimeUnit VuoTimeUnit_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
struct json_object* VuoTimeUnit_getJson | ( | const VuoTimeUnit | value | ) |
Encodes value
as a JSON object.
VuoInteger VuoTimeUnit_getSeconds | ( | const VuoTimeUnit | value | ) |
Returns the number of seconds the specified time unit is worth.
char* VuoTimeUnit_getString | ( | const VuoTimeUnit | value | ) |
Automatically generated function.
char* VuoTimeUnit_getSummary | ( | const VuoTimeUnit | value | ) |
Returns a compact string representation of value
.
bool VuoTimeUnit_isLessThan | ( | const VuoTimeUnit | valueA, |
const VuoTimeUnit | valueB | ||
) |
Returns true if valueA
is less than valueB
.
VuoTimeUnit VuoTimeUnit_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
VuoTimeUnit VuoTimeUnit_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoTimeUnit_release | ( | VuoTimeUnit | value | ) |
Automatically generated function.
void VuoTimeUnit_retain | ( | VuoTimeUnit | value | ) |
Automatically generated function.