| Package | Description |
|---|---|
| at.molindo.thirdparty.org.apache.wicket.util.time |
| Modifier and Type | Field and Description |
|---|---|
static Time |
Time.START_OF_UNIX_TIME
the beginning of UNIX time: January 1, 1970, 0:00 GMT.
|
| Modifier and Type | Method and Description |
|---|---|
Time |
Time.add(Duration duration)
Adds the given
Duration to this Time object,
moving the time into the future. |
static Time |
Time.milliseconds(long time)
Retrieves a
Time instance based on the given milliseconds. |
static Time |
Time.now()
Retrieves a
Time instance based on the current time. |
static Time |
Time.parseDate(Calendar calendar,
String string)
Retrieves a
Time instance by parsing 'yyyy.MM.dd' format. |
static Time |
Time.parseDate(String string)
Retrieves a
Time instance by parsing 'yyyy.MM.dd' format
using a local time Calendar. |
Time |
Time.subtract(Duration duration)
Subtracts the given
Duration from this Time
object, moving the time into the past. |
static Time |
Time.valueOf(Calendar calendar,
String string)
Retrieves a
Time instance by parsing 'yyyy.MM.dd-h.mma'
format. |
static Time |
Time.valueOf(Date date)
Retrieves a
Time instance based on the given
Date object. |
static Time |
Time.valueOf(long time)
Retrieves a
Time instance based on the given milliseconds. |
static Time |
Time.valueOf(String string)
Retrieves a
Time instance by parsing 'yyyy.MM.dd-h.mma'
format. |
static Time |
Time.valueOf(String string,
String pattern)
Retrieves a
Time instance by parsing 'pattern' format. |
| Modifier and Type | Method and Description |
|---|---|
static Duration |
Duration.elapsed(Time start)
Calculates the amount of time elapsed since start time.
|
Duration |
Time.subtract(Time that)
Subtract time from this and returns the difference as a
Duration object. |
Copyright © 2014 Molindo GmbH. All Rights Reserved.