Class DateTimeParserBucket.SavedField

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) DateTimeField iField  
      (package private) java.util.Locale iLocale  
      (package private) java.lang.String iText  
      (package private) int iValue  
    • Constructor Summary

      Constructors 
      Constructor Description
      SavedField()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(DateTimeParserBucket.SavedField obj)
      The field with the longer range duration is ordered first, where null is considered infinite.
      (package private) void init​(DateTimeField field, int value)  
      (package private) void init​(DateTimeField field, java.lang.String text, java.util.Locale locale)  
      (package private) long set​(long millis, boolean reset)  
      • Methods inherited from class java.lang.Object

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

      • iValue

        int iValue
      • iText

        java.lang.String iText
      • iLocale

        java.util.Locale iLocale
    • Constructor Detail

      • SavedField

        SavedField()
    • Method Detail

      • init

        void init​(DateTimeField field,
                  java.lang.String text,
                  java.util.Locale locale)
      • set

        long set​(long millis,
                 boolean reset)
      • compareTo

        public int compareTo​(DateTimeParserBucket.SavedField obj)
        The field with the longer range duration is ordered first, where null is considered infinite. If the ranges match, then the field with the longer duration is ordered first.
        Specified by:
        compareTo in interface java.lang.Comparable<DateTimeParserBucket.SavedField>