public class Time extends Instant<Time>
| Constructor and Description |
|---|
Time(int hour,
int minute,
int second) |
Time(LocalTime time) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Time that) |
boolean |
equals(Object object) |
String |
format(String pattern) |
DataType |
getDataType() |
LocalTime |
getTime() |
int |
hashCode() |
static Time |
parse(String value) |
SecondsSinceMidnight |
toSecondsSinceMidnight() |
String |
toSimpleValue() |
static Time |
valueOf(Object value) |
public Time(int hour,
int minute,
int second)
public Time(LocalTime time)
public DataType getDataType()
getDataType in class Instant<Time>public String toSimpleValue()
null value,
which can be converted to String representation via Object.toString().public String format(String pattern)
format in class Instant<Time>String.format(String, Object...)public SecondsSinceMidnight toSecondsSinceMidnight()
public int compareTo(Time that)
public LocalTime getTime()
public static Time parse(String value) throws DateTimeParseException
DateTimeParseExceptionCopyright © 2022. All rights reserved.