|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.util.value.LongValue
wicket.util.time.AbstractTimeValue
wicket.util.time.AbstractTime
Abstract base class for subclasses that represent a point in time (as opposed to a duration of time).
| Field Summary | |
(package private) static java.util.Calendar |
localtime
Calendar for the local timezone |
(package private) static java.text.SimpleDateFormat |
timeFormat
Time format |
| Fields inherited from class wicket.util.value.LongValue |
value |
| Constructor Summary | |
(package private) |
AbstractTime(long milliseconds)
Package local constructor for package subclasses only |
| Method Summary | |
boolean |
after(AbstractTimeValue that)
|
boolean |
before(AbstractTimeValue that)
|
long |
getMilliseconds()
|
java.lang.String |
toString()
Converts this time to a string suitable for use in a filesystem name |
java.lang.String |
toTimeString()
Converts this time to a time string using the formatter h.mma |
java.lang.String |
toTimeString(java.util.Calendar calendar)
Converts this time to a date string using the date formatter h.mma |
| Methods inherited from class wicket.util.value.LongValue |
compareTo, equals, greaterThan, greaterThan, hashCode, lessThan, lessThan |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final java.util.Calendar localtime
static final java.text.SimpleDateFormat timeFormat
| Constructor Detail |
AbstractTime(long milliseconds)
milliseconds - The number of milliseconds in this time value| Method Detail |
public final boolean after(AbstractTimeValue that)
that - The time to compare with
public final boolean before(AbstractTimeValue that)
that - The time to compare with
public final java.lang.String toTimeString()
public final java.lang.String toTimeString(java.util.Calendar calendar)
calendar - The calendar to use in the conversion
public java.lang.String toString()
toString in class LongValuepublic final long getMilliseconds()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||