Class SqlParserUtil.Format

  • Enclosing class:
    SqlParserUtil

    private static class SqlParserUtil.Format
    extends java.lang.Object
    Pre-initialized DateFormat objects, to be used within the current thread, because DateFormat is not thread-safe.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.text.DateFormat date  
      private static java.lang.ThreadLocal<SqlParserUtil.Format> PER_THREAD  
      (package private) java.text.DateFormat time  
      (package private) java.text.DateFormat timestamp  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Format()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timestamp

        final java.text.DateFormat timestamp
      • time

        final java.text.DateFormat time
      • date

        final java.text.DateFormat date
    • Constructor Detail

      • Format

        private Format()