|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.TimeWindow
public class TimeWindow
Represents a time period.
| Constructor Summary | |
|---|---|
protected |
TimeWindow()
Initializes a new instance of the "TimeWindow" class. |
|
TimeWindow(Date startTime,
Date endTime)
Initializes a new instance of the "TimeWindow" class. |
| Method Summary | |
|---|---|
protected long |
getDuration()
Gets the duration. |
Date |
getEndTime()
Gets the end time. |
Date |
getStartTime()
Gets the start time. |
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Loads from XML. |
void |
setEndTime(Date endTime)
Sets the end time. |
void |
setStartTime(Date startTime)
Sets the start time. |
void |
validate()
Validates this instance. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
String xmlElementName)
Writes to XML. |
protected void |
writeToXmlUnscopedDatesOnly(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
String xmlElementName)
Writes to XML without scoping the dates and without emitting times. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TimeWindow()
public TimeWindow(Date startTime,
Date endTime)
startTime - the start timeendTime - the end time| Method Detail |
|---|
public Date getStartTime()
public void setStartTime(Date startTime)
startTime - the new start timepublic Date getEndTime()
public void setEndTime(Date endTime)
endTime - the new end time
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
reader - the reader
Exception - the exception
protected void writeToXmlUnscopedDatesOnly(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
String xmlElementName)
throws XMLStreamException,
ServiceXmlSerializationException
writer - the writerxmlElementName - the xml element name
XMLStreamException - the xML stream exception
ServiceXmlSerializationException - the service xml serialization exception
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
String xmlElementName)
throws XMLStreamException,
ServiceXmlSerializationException
writer - the writerxmlElementName - the xml element name
XMLStreamException - the xML stream exception
ServiceXmlSerializationException - the service xml serialization exceptionprotected long getDuration()
public void validate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||