| Constructor and Description |
|---|
ConversionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
convertToBoolean(Object object) |
static Double |
convertToDouble(Object object) |
static Instant |
convertToInstant(Object object)
Converts an object to an
Instant. |
static Truthness |
convertToTruthness(Object object) |
public static Instant convertToInstant(Object object)
Instant.
The object can be of type Time, Date, Date,
OffsetDateTime, OffsetTime, Long, or String.object - the object to convertInstant, or null if the input object is nullIllegalArgumentException - if the object is not a supported typeCopyright © 2016–2025. All rights reserved.