#include <event_date_time.h>
◆ EventDateTime() [1/2]
google_calendar_api::EventDateTime::EventDateTime |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ EventDateTime() [2/2]
google_calendar_api::EventDateTime::EventDateTime |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~EventDateTime()
google_calendar_api::EventDateTime::~EventDateTime |
( |
| ) |
|
|
virtual |
◆ clear_date()
void google_calendar_api::EventDateTime::clear_date |
( |
| ) |
|
|
inline |
Clears the 'date
' attribute.
◆ clear_date_time()
void google_calendar_api::EventDateTime::clear_date_time |
( |
| ) |
|
|
inline |
Clears the 'dateTime
' attribute.
◆ clear_time_zone()
void google_calendar_api::EventDateTime::clear_time_zone |
( |
| ) |
|
|
inline |
Clears the 'timeZone
' attribute.
◆ get_date()
client::Date google_calendar_api::EventDateTime::get_date |
( |
| ) |
const |
|
inline |
Get the value of the 'date
' attribute.
◆ get_date_time()
client::DateTime google_calendar_api::EventDateTime::get_date_time |
( |
| ) |
const |
|
inline |
Get the value of the 'dateTime
' attribute.
◆ get_time_zone()
const StringPiece google_calendar_api::EventDateTime::get_time_zone |
( |
| ) |
const |
|
inline |
Get the value of the 'timeZone
' attribute.
◆ GetTypeName()
const StringPiece google_calendar_api::EventDateTime::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_date()
bool google_calendar_api::EventDateTime::has_date |
( |
| ) |
const |
|
inline |
Determine if the 'date
' attribute was set.
- Returns
- true if the '
date
' attribute was set.
◆ has_date_time()
bool google_calendar_api::EventDateTime::has_date_time |
( |
| ) |
const |
|
inline |
Determine if the 'dateTime
' attribute was set.
- Returns
- true if the '
dateTime
' attribute was set.
◆ has_time_zone()
bool google_calendar_api::EventDateTime::has_time_zone |
( |
| ) |
const |
|
inline |
Determine if the 'timeZone
' attribute was set.
- Returns
- true if the '
timeZone
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_date()
void google_calendar_api::EventDateTime::set_date |
( |
client::Date |
value | ) |
|
|
inline |
Change the 'date
' attribute.
The date, in the format "yyyy-mm-dd", if this is an all-day event.
- Parameters
-
◆ set_date_time()
void google_calendar_api::EventDateTime::set_date_time |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'dateTime
' attribute.
The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
- Parameters
-
◆ set_time_zone()
void google_calendar_api::EventDateTime::set_time_zone |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'timeZone
' attribute.
The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
- Parameters
-
The documentation for this class was generated from the following files: