TimeOfDay Class
- java.
lang. Object - com.
microsoft. graph. core. TimeOfDay
- com.
public class TimeOfDay
The time of day
Constructor Summary
| Constructor | Description |
|---|---|
| TimeOfDay(int hour, int minute, int second) |
Constructs a Time |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| int |
getHour()
Gets the hour |
| int |
getMinute()
Gets the minute |
| int |
getSecond()
Gets the second |
|
static
Time |
parse(String timeStr)
Constructs a timezone-nonspecific Date |
| java.lang.String | toString() |
Methods inherited from java.lang.Object
Constructor Details
TimeOfDay
public TimeOfDay(int hour, int minute, int second)
Constructs a TimeOfDay object
Parameters:
Method Details
getHour
public int getHour()
Gets the hour
Returns:
getMinute
public int getMinute()
Gets the minute
Returns:
getSecond
public int getSecond()
Gets the second
Returns:
parse
public static TimeOfDay parse(String timeStr)
Constructs a timezone-nonspecific DateOnly
Parameters:
HH:mm:ss
Returns:
Throws:
toString
public String toString()
Overrides:
TimeOfDay.toString()