container
v1
|
#include <time_window.h>
Public Member Functions | |
TimeWindow (const Json::Value &storage) | |
TimeWindow (Json::Value *storage) | |
virtual | ~TimeWindow () |
const StringPiece | GetTypeName () const |
bool | has_end_time () const |
void | clear_end_time () |
const StringPiece | get_end_time () const |
void | set_end_time (const StringPiece &value) |
bool | has_start_time () const |
void | clear_start_time () |
const StringPiece | get_start_time () const |
void | set_start_time (const StringPiece &value) |
Static Public Member Functions | |
static TimeWindow * | New () |
Represents an arbitrary window of time.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'endTime
' attribute.
|
inline |
Clears the 'startTime
' attribute.
|
inline |
Get the value of the 'endTime
' attribute.
|
inline |
Get the value of the 'startTime
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'endTime
' attribute was set.
endTime
' attribute was set.
|
inline |
Determine if the 'startTime
' attribute was set.
startTime
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'endTime
' attribute.
The time that the window ends. The end time should take place after the start time.
[in] | value | The new value. |
|
inline |
Change the 'startTime
' attribute.
The time that the window first starts.
[in] | value | The new value. |