Interface ITime
- All Superinterfaces:
IElement
- All Known Implementing Classes:
Time
-
Method Summary
Modifier and TypeMethodDescriptionintintintintintintintintintgetYear()booleanbooleanbooleanlongwithAddedOrSubtractedDays(int days) withAddedOrSubtractedHours(int hours) withAddedOrSubtractedMicroseconds(long microseconds) withAddedOrSubtractedMilliseconds(int milliseconds) withAddedOrSubtractedMinutes(int minutes) withAddedOrSubtractedSeconds(int seconds) Methods inherited from interface IElement
getAttributes, getSpecification, toFormatedString, toXml
-
Method Details
-
getDayOfMonth
int getDayOfMonth()- Returns:
- the day of the month of the current
ITime.
-
getHourOfDay
int getHourOfDay()- Returns:
- the hour of the day of the current
ITime.
-
getMicrosecondOfMillisecond
int getMicrosecondOfMillisecond()- Returns:
- the microsecond of the millisecond of the current
ITime.
-
getMillisecondOfSecond
int getMillisecondOfSecond()- Returns:
- the millisecond of the second of the current
ITime.
-
getMinuteOfHour
int getMinuteOfHour()- Returns:
- the minute of the hour of the current
ITime.
-
getMonthOfYear
-
getMonthOfYearAsInt
int getMonthOfYearAsInt()- Returns:
- the month of the year of the current
ITimeas int.
-
getSecondOfMinute
int getSecondOfMinute()- Returns:
- the second of the minute of the current
ITime.
-
getWeekday
-
getWeekOfYear
int getWeekOfYear()- Returns:
- the week of the year of the current
ITime.
-
getYear
int getYear()- Returns:
- the year of the current
ITime.
-
isAfter
-
isBefore
-
isInLeapYear
boolean isInLeapYear()- Returns:
- true if the current
ITimeis in a leap year, false otherwise.
-
toSeconds
long toSeconds()- Returns:
- the seconds of the current
ITime.
-
withAddedOrSubtractedDays
-
withAddedOrSubtractedHours
-
withAddedOrSubtractedMicroseconds
-
withAddedOrSubtractedMilliseconds
-
withAddedOrSubtractedMinutes
-
withAddedOrSubtractedSeconds
-