#include <time_period.h>
◆ TimePeriod() [1/2]
| google_calendar_api::TimePeriod::TimePeriod |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ TimePeriod() [2/2]
| google_calendar_api::TimePeriod::TimePeriod |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~TimePeriod()
| google_calendar_api::TimePeriod::~TimePeriod |
( |
| ) |
|
|
virtual |
◆ clear_end()
| void google_calendar_api::TimePeriod::clear_end |
( |
| ) |
|
|
inline |
Clears the 'end' attribute.
◆ clear_start()
| void google_calendar_api::TimePeriod::clear_start |
( |
| ) |
|
|
inline |
Clears the 'start' attribute.
◆ get_end()
| client::DateTime google_calendar_api::TimePeriod::get_end |
( |
| ) |
const |
|
inline |
Get the value of the 'end' attribute.
◆ get_start()
| client::DateTime google_calendar_api::TimePeriod::get_start |
( |
| ) |
const |
|
inline |
Get the value of the 'start' attribute.
◆ GetTypeName()
| const StringPiece google_calendar_api::TimePeriod::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_end()
| bool google_calendar_api::TimePeriod::has_end |
( |
| ) |
const |
|
inline |
Determine if the 'end' attribute was set.
- Returns
- true if the '
end' attribute was set.
◆ has_start()
| bool google_calendar_api::TimePeriod::has_start |
( |
| ) |
const |
|
inline |
Determine if the 'start' attribute was set.
- Returns
- true if the '
start' attribute was set.
◆ New()
| TimePeriod * google_calendar_api::TimePeriod::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_end()
| void google_calendar_api::TimePeriod::set_end |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'end' attribute.
The (exclusive) end of the time period.
- Parameters
-
◆ set_start()
| void google_calendar_api::TimePeriod::set_start |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'start' attribute.
The (inclusive) start of the time period.
- Parameters
-
The documentation for this class was generated from the following files:
- google/calendar_api/time_period.h
- google/calendar_api/time_period.cc