public class TimeOutput extends java.lang.Object implements java.lang.Comparable<TimeOutput>
| Constructor and Description |
|---|
TimeOutput(org.joda.time.DateTime time) |
TimeOutput(org.joda.time.DateTime time,
boolean unixTime) |
TimeOutput(java.lang.Long time,
boolean unixTime) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TimeOutput o) |
boolean |
equals(java.lang.Object obj) |
org.joda.time.DateTime |
getDateTime() |
java.lang.Long |
getMillis() |
int |
hashCode() |
boolean |
isUnixTime() |
TimeOutput |
setDateTime(org.joda.time.DateTime dateTime) |
TimeOutput |
setUnixTime(boolean unixTime) |
public TimeOutput(org.joda.time.DateTime time,
boolean unixTime)
public TimeOutput(org.joda.time.DateTime time)
public TimeOutput(java.lang.Long time,
boolean unixTime)
public org.joda.time.DateTime getDateTime()
public java.lang.Long getMillis()
public TimeOutput setDateTime(org.joda.time.DateTime dateTime)
public boolean isUnixTime()
public TimeOutput setUnixTime(boolean unixTime)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(TimeOutput o)
compareTo in interface java.lang.Comparable<TimeOutput>Copyright © 2013–2019 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.