public class DateTimeParsingUtils extends Object
| Constructor and Description |
|---|
DateTimeParsingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getHeuristicToDateTimeParsing(CharSequence input)
returns a value that represents how close is the value to the format YYYY-MM-DD
|
static double |
getHeuristicToDateTimePatternParsing(String input,
String dateFormatPattern) |
static double |
getHeuristicToISOLocalDateParsing(CharSequence input)
returns the heuristic value in [0,1] that
represents how close is the value to the format YYYY-MM-DD
|
static double |
getHeuristicToISOLocalDateTimeParsing(CharSequence input)
returns a value that represents how close is the value to the format YYYY-MM-DD
|
static double |
getHeuristicToISOLocalTimeParsing(CharSequence input)
returns how close the input was to HH:MM or HH:MM:SS.
|
public static double getHeuristicToISOLocalDateTimeParsing(CharSequence input)
input - public static double getHeuristicToISOLocalTimeParsing(CharSequence input)
input - public static double getHeuristicToISOLocalDateParsing(CharSequence input)
input - public static double getHeuristicToDateTimeParsing(CharSequence input)
input - Copyright © 2016–2024. All rights reserved.