Class EventDateTime
Implements
Inherited Members
Namespace: Google.Apis.Calendar.v3.Data
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class EventDateTime : IDirectResponseSchema
Properties
Date
The date, in the format "yyyy-mm-dd", if this is an all-day event.
Declaration
[JsonProperty("date")]
public virtual string Date { get; set; }
Property Value
Type | Description |
---|---|
string |
DateTime
DateTime representation of DateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DateTimeDateTimeOffset instead.")]
public virtual DateTime? DateTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
DateTimeDateTimeOffset
DateTimeOffset representation of DateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
DateTimeRaw
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.
Declaration
[JsonProperty("dateTime")]
public virtual string DateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeZone
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.
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |