Enum KotlinClientCodegen.DateLibrary
- java.lang.Object
-
- java.lang.Enum<KotlinClientCodegen.DateLibrary>
-
- org.openapitools.codegen.languages.KotlinClientCodegen.DateLibrary
-
- All Implemented Interfaces:
Serializable
,Comparable<KotlinClientCodegen.DateLibrary>
- Enclosing class:
- KotlinClientCodegen
public static enum KotlinClientCodegen.DateLibrary extends Enum<KotlinClientCodegen.DateLibrary>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVA8
JAVA8_LOCALDATETIME
KOTLINX_DATETIME
STRING
THREETENBP
THREETENBP_LOCALDATETIME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KotlinClientCodegen.DateLibrary
valueOf(String name)
Returns the enum constant of this type with the specified name.static KotlinClientCodegen.DateLibrary[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final KotlinClientCodegen.DateLibrary STRING
-
THREETENBP
public static final KotlinClientCodegen.DateLibrary THREETENBP
-
THREETENBP_LOCALDATETIME
public static final KotlinClientCodegen.DateLibrary THREETENBP_LOCALDATETIME
-
JAVA8
public static final KotlinClientCodegen.DateLibrary JAVA8
-
JAVA8_LOCALDATETIME
public static final KotlinClientCodegen.DateLibrary JAVA8_LOCALDATETIME
-
KOTLINX_DATETIME
public static final KotlinClientCodegen.DateLibrary KOTLINX_DATETIME
-
-
Field Detail
-
value
public final String value
-
-
Method Detail
-
values
public static KotlinClientCodegen.DateLibrary[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KotlinClientCodegen.DateLibrary c : KotlinClientCodegen.DateLibrary.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KotlinClientCodegen.DateLibrary valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-