toString

public static String toString(LocalTime time)

Converts the passed time to string with optional part representing a fraction of a second.

Examples of results: "13:45:30.123456789", "09:37:00".

See also