Package org.oscim.backend
Class DateTime
java.lang.Object
org.oscim.backend.DateTimeAdapter
org.oscim.backend.DateTime
-
Field Summary
Fields inherited from class org.oscim.backend.DateTimeAdapter
instance, MILLIS_PER_DAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintIndicates the day number within the current year.intgetHour()intintintMethods inherited from class org.oscim.backend.DateTimeAdapter
init
-
Constructor Details
-
DateTime
public DateTime()
-
-
Method Details
-
getHour
public int getHour()- Specified by:
getHourin classDateTimeAdapter
-
getMinute
public int getMinute()- Specified by:
getMinutein classDateTimeAdapter
-
getSecond
public int getSecond()- Specified by:
getSecondin classDateTimeAdapter
-
getDayOfYear
public int getDayOfYear()Description copied from class:DateTimeAdapterIndicates the day number within the current year. The first day of the year has value 1.- Specified by:
getDayOfYearin classDateTimeAdapter
-
getTimeZoneOffset
public int getTimeZoneOffset()- Specified by:
getTimeZoneOffsetin classDateTimeAdapter- Returns:
- the time zone offset in milliseconds
-