|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ionetrics.lib.annotatorcomm.Timestamp
public abstract class Timestamp
Timestamp
Constructor Summary | |
---|---|
Timestamp()
|
Method Summary | |
---|---|
int |
compareTo(Timestamp timestamp)
Compare timestamps for ordering. |
boolean |
equals(java.lang.Object obj)
Compare the year, day, second, and microsecond for equality. |
abstract int |
getDayOfYear()
Get the day of year. |
java.lang.String |
getExtendedFormatTime()
Format the time and any extended information into a human readable String. |
java.lang.String |
getFormattedTime()
Format the time into a human readable String. |
int |
getHourOfDay()
Get the hour of day. |
abstract int |
getMicrosecond()
Get the microsecond of the second. |
int |
getMinuteOfHour()
Get the minute of the hour. |
abstract int |
getSecondOfDay()
Get the second of the day. |
int |
getSecondOfMinute()
Get the second of the minute. |
abstract int |
getYear()
Get the year. |
int |
hashCode()
OR the year, day of year, second of day, and microsecond together to for a hash. |
java.lang.String |
toString()
Format the timestamp. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Timestamp()
Method Detail |
---|
public abstract int getYear()
public abstract int getDayOfYear()
public abstract int getSecondOfDay()
public int getHourOfDay()
public int getMinuteOfHour()
public int getSecondOfMinute()
public abstract int getMicrosecond()
public java.lang.String getFormattedTime()
public java.lang.String getExtendedFormatTime()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- other timestamp
public int compareTo(Timestamp timestamp)
compareTo
in interface java.lang.Comparable<Timestamp>
timestamp
- comparison target
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |