Package io.scanbot.sdk.util
Enum DateFormat
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum DateFormat extends Enum<DateFormat>
Supported formats for dates of documents
-
-
Field Summary
Fields Modifier and Type Field Description private final String
defaultPattern
-
Enum Constant Summary
Enum Constants Enum Constant Description TIME
Example: "11:28"
DATE
Example: "16.02.1991"
DATE_SHORT
Example: "16.02."
THIS_WEEK
Example: "Tue, 19.05.2013"
THIS_WEEK_SHORT
Example: "Tue"
YEAR
Example: "2013"
-
Method Summary
Modifier and Type Method Description final DateFormat
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<DateFormat>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final String
getDefaultPattern()
Default UTS pattern for DateFormat -
-
Method Detail
-
valueOf
final DateFormat valueOf(String value)
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.)
-
values
final Array<DateFormat> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getDefaultPattern
final String getDefaultPattern()
Default UTS pattern for DateFormat
-
-
-
-