Package org.oscim.backend
Class DateTimeAdapter
java.lang.Object
org.oscim.backend.DateTimeAdapter
- Direct Known Subclasses:
DateTime
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic DateTimeAdapterThe instance provided by backendstatic final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intIndicates the day number within the current year.abstract intgetHour()abstract intabstract intabstract intstatic voidinit(DateTimeAdapter adapter)
-
Field Details
-
MILLIS_PER_DAY
public static final long MILLIS_PER_DAY- See Also:
-
instance
The instance provided by backend
-
-
Constructor Details
-
DateTimeAdapter
public DateTimeAdapter()
-
-
Method Details
-
init
-
getHour
public abstract int getHour() -
getMinute
public abstract int getMinute() -
getSecond
public abstract int getSecond() -
getDayOfYear
public abstract int getDayOfYear()Indicates the day number within the current year. The first day of the year has value 1. -
getTimeZoneOffset
public abstract int getTimeZoneOffset()- Returns:
- the time zone offset in milliseconds
-