类 TypeUtils


  • public class TypeUtils
    extends java.lang.Object
    Ported from Tablesaw
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static java.time.format.DateTimeFormatter getDateFormatter​(java.lang.String dateValue)
      Returns the first DateTimeFormatter to parse the string, which represents a DATE
      static java.time.format.DateTimeFormatter getDateTimeFormatter​(java.lang.String dateTimeValue)
      Returns the first DateTimeFormatter to parse the string, which represents a DATE_TIME
      static java.time.format.DateTimeFormatter getTimeFormatter​(java.lang.String timeValue)
      Returns the first DateTimeFormatter to parse the string, which represents a TIME
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • 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 java.time.format.DateTimeFormatter DATE_FORMATTER
      • DATE_TIME_FORMATTER

        public static final java.time.format.DateTimeFormatter DATE_TIME_FORMATTER
      • TIME_DETECTION_FORMATTER

        public static final java.time.format.DateTimeFormatter TIME_DETECTION_FORMATTER
      • TIME_FORMATTER

        public static final java.time.format.DateTimeFormatter TIME_FORMATTER
      • MISSING_INDICATORS

        public static final com.google.common.collect.ImmutableList<java.lang.String> MISSING_INDICATORS
    • 方法详细资料

      • getDateFormatter

        public static java.time.format.DateTimeFormatter getDateFormatter​(java.lang.String dateValue)
        Returns the first DateTimeFormatter to parse the string, which represents a DATE

        It'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 java.time.format.DateTimeFormatter getDateTimeFormatter​(java.lang.String dateTimeValue)
        Returns the first DateTimeFormatter to parse the string, which represents a DATE_TIME

        It'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 java.time.format.DateTimeFormatter getTimeFormatter​(java.lang.String timeValue)
        Returns the first DateTimeFormatter to parse the string, which represents a TIME

        It'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.