com.garmin.fit
Class LocalDateTime
java.lang.Object
com.garmin.fit.LocalDateTime
public class LocalDateTime
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MIN
public static final long MIN
- See Also:
- Constant Field Values
INVALID
public static final long INVALID
OFFSET
public static final long OFFSET
- See Also:
- Constant Field Values
LocalDateTime
public LocalDateTime(long timestamp)
LocalDateTime
public LocalDateTime(java.util.Date date)
getStringFromValue
public static java.lang.String getStringFromValue(java.lang.Long value)
- Retrieves the String Representation of the Value
- Returns:
- The string representation of the value, or empty if unknown
getValueFromString
public static java.lang.Long getValueFromString(java.lang.String value)
- Retrieves a value given a string representation
- Returns:
- The value or INVALID if unkwown
equals
public boolean equals(DateTime dateTime)
convertSystemTimeToLocal
public void convertSystemTimeToLocal(long offset)
getTimestamp
public java.lang.Long getTimestamp()
getDate
public java.util.Date getDate()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object