Vuo 2.4.4
|
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. | |
struct json_object * | VuoTimeUnit_getJson (const VuoTimeUnit value) |
Encodes value as a JSON object. | |
VuoList_VuoTimeUnit | VuoTimeUnit_getAllowedValues (void) |
Returns a list of values that instances of this type can have. | |
char * | VuoTimeUnit_getSummary (const VuoTimeUnit value) |
Returns a compact string representation of value . | |
VuoInteger | VuoTimeUnit_getSeconds (const VuoTimeUnit value) |
Returns the number of seconds the specified time unit is worth. | |
bool | VuoTimeUnit_areEqual (const VuoTimeUnit valueA, const VuoTimeUnit valueB) |
Returns true if the two values are equal. | |
bool | VuoTimeUnit_isLessThan (const VuoTimeUnit valueA, const VuoTimeUnit valueB) |
Returns true if valueA is less than valueB . | |
char * | VuoTimeUnit_getString (const VuoTimeUnit value) |
Automatically generated function. | |
void | VuoTimeUnit_retain (VuoTimeUnit value) |
Automatically generated function. | |
void | VuoTimeUnit_release (VuoTimeUnit value) |
Automatically generated function. | |
#define VuoTimeUnit_SUPPORTS_COMPARISON |
Definition at line 47 of file VuoTimeUnit.h.
enum VuoTimeUnit |
A delineation of time.
Definition at line 29 of file VuoTimeUnit.h.
bool VuoTimeUnit_areEqual | ( | const VuoTimeUnit | valueA, |
const VuoTimeUnit | valueB | ||
) |
Returns true if the two values are equal.
Definition at line 210 of file VuoTimeUnit.c.
VuoList_VuoTimeUnit VuoTimeUnit_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
Definition at line 111 of file VuoTimeUnit.c.
struct json_object * VuoTimeUnit_getJson | ( | const VuoTimeUnit | value | ) |
Encodes value
as a JSON object.
Definition at line 74 of file VuoTimeUnit.c.
VuoInteger VuoTimeUnit_getSeconds | ( | const VuoTimeUnit | value | ) |
Returns the number of seconds the specified time unit is worth.
Definition at line 175 of file VuoTimeUnit.c.
char * VuoTimeUnit_getString | ( | const VuoTimeUnit | value | ) |
Automatically generated function.
char * VuoTimeUnit_getSummary | ( | const VuoTimeUnit | value | ) |
Returns a compact string representation of value
.
Definition at line 134 of file VuoTimeUnit.c.
bool VuoTimeUnit_isLessThan | ( | const VuoTimeUnit | valueA, |
const VuoTimeUnit | valueB | ||
) |
Returns true if valueA
is less than valueB
.
Definition at line 218 of file VuoTimeUnit.c.
VuoTimeUnit VuoTimeUnit_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 33 of file VuoTimeUnit.c.
void VuoTimeUnit_release | ( | VuoTimeUnit | value | ) |
Automatically generated function.
void VuoTimeUnit_retain | ( | VuoTimeUnit | value | ) |
Automatically generated function.