| java.lang.Object | ||
| ↳ | com.google.gdata.model.Element | |
| ↳ | com.google.gdata.model.gd.When | |
Describes a period of time.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| END_TIME | Event end time. | ||||||||||
| KEY | The key for this element. | ||||||||||
| START_TIME | Event start time. | ||||||||||
| VALUE_STRING | String description of the event times. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an instance using the default key.
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Subclass constructor, allows subclasses to supply their own element key.
| |||||||||||
Constructs a new instance by doing a shallow copy of data from an existing
Element instance. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new event reminder.
| |||||||||||
Removes all existing event reminder instances.
| |||||||||||
Returns the event end time.
| |||||||||||
Returns the event reminders.
| |||||||||||
Returns the event start time.
| |||||||||||
Returns the string description of the event times.
| |||||||||||
Returns whether it has the event end time.
| |||||||||||
Returns whether it has the event reminders.
| |||||||||||
Returns whether it has the event start time.
| |||||||||||
Returns whether it has the string description of the event times.
| |||||||||||
Locks this element.
| |||||||||||
Registers the metadata for this element.
| |||||||||||
Removes an existing event reminder.
| |||||||||||
Sets the event end time.
| |||||||||||
Sets the event start time.
| |||||||||||
Sets the string description of the event times.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs an instance using the default key.
Subclass constructor, allows subclasses to supply their own element key.
| key |
|---|
Constructs a new instance by doing a shallow copy of data from an existing
Element instance. Will use the given ElementKey as the key
for the element. This constructor is used when adapting from one element
key to another. You cannot call this constructor directly, instead use
createElement(ElementKey, Element).
| key | The key to use for this element. |
|---|---|
| source | Source element |
Adds a new event reminder.
| reminder | Event reminder |
|---|
Removes all existing event reminder instances.
Returns the string description of the event times.
Returns whether it has the event end time.
Returns whether it has the event reminders.
Returns whether it has the event start time.
Returns whether it has the string description of the event times.
Locks this element. A locked element cannot have any changes made to its content or its attributes or child elements. This will also lock all attributes and child elements as well. Once this method has been called, this element can be safely published to other threads.
Registers the metadata for this element.
| registry |
|---|
Removes an existing event reminder.
| reminder | Event reminder |
|---|
Sets the event end time.
| endTime | Event end time or null to reset |
|---|
Sets the event start time.
| startTime | Event start time or null to reset |
|---|
Sets the string description of the event times.
| valueString | String description of the event times or null to
reset |
|---|