public static class Event.DateTimeTimezone
extends java.lang.Object
| Constructor and Description |
|---|
DateTimeTimezone() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getDate()
The date, if this is an all-day event.
|
java.util.Date |
getDateTime()
The time, if this is not an all-day event.
|
java.util.TimeZone |
getTimeZone()
The time zone in which the time is specified (e.g.
|
Event.DateTimeTimezone |
setDate(java.util.Date date)
Set the date to make this an all-day event.
|
Event.DateTimeTimezone |
setDateTime(java.util.Date dateTime)
Set the time, to make this not an all-day event.
|
Event.DateTimeTimezone |
setTimeZone(java.util.TimeZone timeZone)
Set the time zone in which the time is specified (e.g.
|
public java.util.Date getDate()
null if none.public Event.DateTimeTimezone setDate(java.util.Date date)
null value is set, making this an all-day
event, the time property must be set to null.date - the new value or null if none.Event.DateTimeTimezone, for chaining.public java.util.Date getDateTime()
null if none.public Event.DateTimeTimezone setDateTime(java.util.Date dateTime)
null value is set, this cannot also be an
all-day event, so the date property must be set to null.dateTime - the new value or null if none.Event.DateTimeTimezone, for chaining.public java.util.TimeZone getTimeZone()
null if none.public Event.DateTimeTimezone setTimeZone(java.util.TimeZone timeZone)
timeZone - the new value or null if none.Event.DateTimeTimezone, for chaining.