LocalTimes

public final class LocalTimes

Routines for working with LocalTime.

Functions

Link copied to clipboard
public static SerializableConverter<LocalTime, LocalTime> converter()
Obtains the instance of Java Time converter.
Link copied to clipboard
public static LocalTime of(LocalTime value)
Obtains local time from time passed java.time value.
public static LocalTime of(int hours, int minutes)
Obtains local time from hours and minutes.
public static LocalTime of(int hours, int minutes, int seconds)
Obtains local time from hours, minutes, and seconds.
public static LocalTime of(int hours, int minutes, int seconds, int nanos)
Obtains local time from an hours, minutes, seconds, milliseconds, and nanoseconds.
Link copied to clipboard
public static LocalTime parse(String str)
Parses the passed string into local time value.
Link copied to clipboard
public static LocalTime toJavaTime(LocalTime value)
Converts the passed value to corresponding Java Time instance.
Link copied to clipboard
public static String toString(LocalTime time)
Converts the passed time to string with optional part representing a fraction of a second.