Class DateTimeFormat.DateTimeFormatHelper

  • Enclosing class:
    DateTimeFormat

    static final class DateTimeFormat.DateTimeFormatHelper
    extends java.lang.Object
    Helper.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.time.chrono.Chronology chronology_  
      private java.time.format.DateTimeFormatter formatter_  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.String format​(java.util.Date date)
      Formats a date according to the locale and formatting options of this DateTimeFormat object.
      • Methods inherited from class java.lang.Object

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

      • formatter_

        private final java.time.format.DateTimeFormatter formatter_
      • chronology_

        private java.time.chrono.Chronology chronology_
    • Constructor Detail

      • DateTimeFormatHelper

        DateTimeFormatHelper​(java.lang.String locale,
                             BrowserVersion browserVersion,
                             java.lang.String pattern)
    • Method Detail

      • format

        java.lang.String format​(java.util.Date date)
        Formats a date according to the locale and formatting options of this DateTimeFormat object.
        Parameters:
        date - the JavaScript object to convert
        Returns:
        the dated formated