public class DateTimeUtils extends Object
| Constructor and Description |
|---|
DateTimeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Instant |
parseDateTime(String s)
Parse input String to a
Instant. |
public static Instant parseDateTime(String s) throws DateTimeParseException
Instant.s - Input String should be Epoch time in millisecond or ISO-8601 format.DateTimeParseExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.