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 StringdefaultPattern
-
Enum Constant Summary
Enum Constants Enum Constant Description TIMEExample: "11:28"
DATEExample: "16.02.1991"
DATE_SHORTExample: "16.02."
THIS_WEEKExample: "Tue, 19.05.2013"
THIS_WEEK_SHORTExample: "Tue"
YEARExample: "2013"
-
Method Summary
Modifier and Type Method Description final DateFormatvalueOf(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 StringgetDefaultPattern()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
-
-
-
-