Package | Description |
---|---|
org.apache.wicket.util.time |
Utilities for working with
Time (s). |
Modifier and Type | Field and Description |
---|---|
static TimeOfDay |
TimeOfDay.MIDNIGHT
Constant for midnight.
|
static TimeOfDay |
TimeOfDay.NOON
Constant for noon.
|
Modifier and Type | Method and Description |
---|---|
static TimeOfDay |
TimeOfDay.militaryTime(int hour,
int minute,
int second)
Retrieves a
TimeOfDay value on a 24-hour clock. |
static TimeOfDay |
TimeOfDay.now()
Retrieves the
TimeOfDay representing 'now'. |
static TimeOfDay |
TimeOfDay.now(Calendar calendar)
Retrieves the
TimeOfDay representing 'now' on the given Calendar . |
static TimeOfDay |
TimeOfDay.time(int hour,
int minute,
int second,
TimeOfDay.Meridian meridian)
Retrieves a
TimeOfDay on a 12-hour clock. |
static TimeOfDay |
TimeOfDay.time(int hour,
int minute,
TimeOfDay.Meridian meridian)
Retrieves a
TimeOfDay on a 12-hour clock. |
static TimeOfDay |
TimeOfDay.valueOf(Calendar calendar,
String time)
Converts a time
String and Calendar to a TimeOfDay
instance. |
static TimeOfDay |
TimeOfDay.valueOf(Calendar calendar,
Time time)
Converts a
Time instance and Calendar to a TimeOfDay
instance. |
static TimeOfDay |
TimeOfDay.valueOf(Duration duration)
Converts a
Duration instance to a TimeOfDay instance. |
static TimeOfDay |
TimeOfDay.valueOf(long time)
Converts a
long value to a TimeOfDay instance. |
static TimeOfDay |
TimeOfDay.valueOf(String time)
Converts a
String value to a TimeOfDay instance. |
static TimeOfDay |
TimeOfDay.valueOf(Time time)
Converts a
String value to a TimeOfDay instance. |
Modifier and Type | Method and Description |
---|---|
static ITimeFrameSource |
TimeFrame.eachDay(TimeOfDay startTimeOfDay,
TimeOfDay endTimeOfDay)
Creates an
ITimeFrameSource source for start and end TimeOfDay s. |
static Time |
Time.valueOf(Calendar calendar,
TimeOfDay timeOfDay)
|
static Time |
Time.valueOf(TimeOfDay timeOfDay)
Retrieves a
Time instance based on the given TimeOfDay object. |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.