calendar  v3
Public Member Functions | Static Public Member Functions | List of all members
google_calendar_api::EventDateTime Class Reference

#include <event_date_time.h>

Inheritance diagram for google_calendar_api::EventDateTime:

Public Member Functions

 EventDateTime (const Json::Value &storage)
 
 EventDateTime (Json::Value *storage)
 
virtual ~EventDateTime ()
 
const StringPiece GetTypeName () const
 
bool has_date () const
 
void clear_date ()
 
client::Date get_date () const
 
void set_date (client::Date value)
 
bool has_date_time () const
 
void clear_date_time ()
 
client::DateTime get_date_time () const
 
void set_date_time (client::DateTime value)
 
bool has_time_zone () const
 
void clear_time_zone ()
 
const StringPiece get_time_zone () const
 
void set_time_zone (const StringPiece &value)
 

Static Public Member Functions

static EventDateTimeNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ EventDateTime() [1/2]

google_calendar_api::EventDateTime::EventDateTime ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~EventDateTime()

google_calendar_api::EventDateTime::~EventDateTime ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_calendar_api::EventDateTime

◆ 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()

EventDateTime * google_calendar_api::EventDateTime::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: