类 TypeUtils
- java.lang.Object
-
- org.meteoinfo.common.util.TypeUtils
-
public class TypeUtils extends Object
Ported from Tablesaw
-
-
字段概要
字段 修饰符和类型 字段 说明 static DateTimeFormatterDATE_FORMATTERstatic DateTimeFormatterDATE_TIME_FORMATTERstatic List<String>FALSE_STRINGSstatic List<String>FALSE_STRINGS_FOR_DETECTIONstatic com.google.common.collect.ImmutableList<String>MISSING_INDICATORSstatic DateTimeFormatterTIME_DETECTION_FORMATTERstatic DateTimeFormatterTIME_FORMATTERstatic List<String>TRUE_STRINGSstatic List<String>TRUE_STRINGS_FOR_DETECTION
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static DateTimeFormattergetDateFormatter(String dateValue)Returns the first DateTimeFormatter to parse the string, which represents a DATEstatic DateTimeFormattergetDateTimeFormatter(String dateTimeValue)Returns the first DateTimeFormatter to parse the string, which represents a DATE_TIMEstatic DateTimeFormattergetTimeFormatter(String timeValue)Returns the first DateTimeFormatter to parse the string, which represents a TIME
-
-
-
字段详细资料
-
DATE_FORMATTER
public static final DateTimeFormatter DATE_FORMATTER
-
DATE_TIME_FORMATTER
public static final DateTimeFormatter DATE_TIME_FORMATTER
-
TIME_DETECTION_FORMATTER
public static final DateTimeFormatter TIME_DETECTION_FORMATTER
-
TIME_FORMATTER
public static final DateTimeFormatter TIME_FORMATTER
-
MISSING_INDICATORS
public static final com.google.common.collect.ImmutableList<String> MISSING_INDICATORS
-
-
方法详细资料
-
getDateFormatter
public static DateTimeFormatter getDateFormatter(String dateValue)
Returns the first DateTimeFormatter to parse the string, which represents a DATEIt's intended to be called at the start of a large formatting job so that it picks the write format and is not called again. This is an optimization, because the older version, which will try multiple formatters was too slow for large data sets.
-
getDateTimeFormatter
public static DateTimeFormatter getDateTimeFormatter(String dateTimeValue)
Returns the first DateTimeFormatter to parse the string, which represents a DATE_TIMEIt's intended to be called at the start of a large formatting job so that it picks the write format and is not called again. This is an optimization, because the older version, which will try multiple formatters was too slow for large data sets.
-
getTimeFormatter
public static DateTimeFormatter getTimeFormatter(String timeValue)
Returns the first DateTimeFormatter to parse the string, which represents a TIMEIt's intended to be called at the start of a large formatting job so that it picks the write format and is not called again. This is an optimization, because the older version, which will try multiple formatters was too slow for large data sets.
-
-