类 TypeUtils
- java.lang.Object
-
- org.meteoinfo.global.util.TypeUtils
-
public class TypeUtils extends java.lang.ObjectPorted from Tablesaw
-
-
字段概要
字段 修饰符和类型 字段 说明 static org.joda.time.format.DateTimeFormatterDATE_FORMATTERstatic org.joda.time.format.DateTimeFormatterDATE_TIME_FORMATTERstatic java.util.List<java.lang.String>FALSE_STRINGSstatic java.util.List<java.lang.String>FALSE_STRINGS_FOR_DETECTIONstatic com.google.common.collect.ImmutableList<java.lang.String>MISSING_INDICATORSstatic org.joda.time.format.DateTimeFormatterTIME_DETECTION_FORMATTERstatic org.joda.time.format.DateTimeFormatterTIME_FORMATTERstatic java.util.List<java.lang.String>TRUE_STRINGSstatic java.util.List<java.lang.String>TRUE_STRINGS_FOR_DETECTION
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static org.joda.time.format.DateTimeFormattergetDateFormatter(java.lang.String dateValue)Returns the first DateTimeFormatter to parse the string, which represents a DATEstatic org.joda.time.format.DateTimeFormattergetDateTimeFormatter(java.lang.String dateTimeValue)Returns the first DateTimeFormatter to parse the string, which represents a DATE_TIMEstatic org.joda.time.format.DateTimeFormattergetTimeFormatter(java.lang.String timeValue)Returns the first DateTimeFormatter to parse the string, which represents a TIME
-
-
-
字段详细资料
-
TRUE_STRINGS
public static final java.util.List<java.lang.String> TRUE_STRINGS
-
TRUE_STRINGS_FOR_DETECTION
public static final java.util.List<java.lang.String> TRUE_STRINGS_FOR_DETECTION
-
FALSE_STRINGS
public static final java.util.List<java.lang.String> FALSE_STRINGS
-
FALSE_STRINGS_FOR_DETECTION
public static final java.util.List<java.lang.String> FALSE_STRINGS_FOR_DETECTION
-
DATE_FORMATTER
public static final org.joda.time.format.DateTimeFormatter DATE_FORMATTER
-
DATE_TIME_FORMATTER
public static final org.joda.time.format.DateTimeFormatter DATE_TIME_FORMATTER
-
TIME_DETECTION_FORMATTER
public static final org.joda.time.format.DateTimeFormatter TIME_DETECTION_FORMATTER
-
TIME_FORMATTER
public static final org.joda.time.format.DateTimeFormatter TIME_FORMATTER
-
MISSING_INDICATORS
public static final com.google.common.collect.ImmutableList<java.lang.String> MISSING_INDICATORS
-
-
方法详细资料
-
getDateFormatter
public static org.joda.time.format.DateTimeFormatter getDateFormatter(java.lang.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 org.joda.time.format.DateTimeFormatter getDateTimeFormatter(java.lang.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 org.joda.time.format.DateTimeFormatter getTimeFormatter(java.lang.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.
-
-