Package com.jumio.sdk.status_endpoint
Class JavaTimeFormatter
java.lang.Object
com.jumio.sdk.status_endpoint.JavaTimeFormatter
- Direct Known Subclasses:
-
ApiClient
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-10-16T16:59:22.809214900+02:00[Europe/Vienna]") public class JavaTimeFormatter
extends
Object
Class that add parsing/formatting support for Java 8+
OffsetDateTime class. It's generated for java clients when
AbstractJavaCodegen#dateLibrary specified as java8.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatOffsetDateTime(OffsetDateTime offsetDateTime) Format the givenOffsetDateTimeobject into string.Get the date format used to parse/formatOffsetDateTimeparameters.Parse the given string intoOffsetDateTimeobject.voidsetOffsetDateTimeFormatter(DateTimeFormatter offsetDateTimeFormatter) Set the date format used to parse/formatOffsetDateTimeparameters.
-
Constructor Details
-
JavaTimeFormatter
public JavaTimeFormatter()
-
-
Method Details
-
getOffsetDateTimeFormatter
Get the date format used to parse/formatOffsetDateTimeparameters.- Returns:
- DateTimeFormatter
-
setOffsetDateTimeFormatter
Set the date format used to parse/formatOffsetDateTimeparameters.- Parameters:
offsetDateTimeFormatter-DateTimeFormatter
-
parseOffsetDateTime
Parse the given string intoOffsetDateTimeobject.- Parameters:
str- String- Returns:
OffsetDateTime
-
formatOffsetDateTime
Format the givenOffsetDateTimeobject into string.- Parameters:
offsetDateTime-OffsetDateTime- Returns:
OffsetDateTimein string format
-