|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.misc.Time
public final class Time
Represents time.
| Constructor Summary | |
|---|---|
protected |
Time()
Initializes a new instance of Time. |
|
Time(Date dateTime)
Initializes a new instance of Time. |
protected |
Time(int minutes)
Initializes a new instance of Time. |
protected |
Time(int hours,
int minutes,
int seconds)
Initializes a new instance of Time. |
| Method Summary | |
|---|---|
protected int |
convertToMinutes()
Converts the time into a number of minutes since 12:00AM. |
protected int |
getHours()
Gets the hours. |
protected int |
getMinutes()
Gets the minutes. |
protected int |
getSeconds()
Gets the seconds. |
protected void |
setHours(int value)
sets the hours. |
protected void |
setMinutes(int value)
Sets the minutes. |
protected void |
setSeconds(int value)
Sets the seconds. |
String |
toXSTime()
Convert Time to XML Schema time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Time()
protected Time(int minutes)
throws ArgumentException
minutes - The number of minutes since 12:00AM.
ArgumentException - the argument exception
public Time(Date dateTime)
throws ArgumentException
dateTime - the date time
ArgumentException - the argument exception
protected Time(int hours,
int minutes,
int seconds)
hours - the hoursminutes - the minutesseconds - the seconds| Method Detail |
|---|
public String toXSTime()
protected int convertToMinutes()
protected int getHours()
protected void setHours(int value)
throws ArgumentException
value - the new hours
ArgumentException - the argument exceptionprotected int getMinutes()
protected void setMinutes(int value)
throws ArgumentException
value - the new minutes
ArgumentException - the argument exceptionprotected int getSeconds()
protected void setSeconds(int value)
throws ArgumentException
value - the new seconds
ArgumentException - the argument exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||