Class PatternsHolder

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PatternsHolder​(java.lang.String wordSeparator, java.lang.String[] seconds, java.lang.String[] minutes, java.lang.String[] hours, java.lang.String[] days, java.lang.String[] weeks, java.lang.String[] months, java.lang.String[] years)  
      protected PatternsHolder​(java.lang.String wordSeparator, java.util.Collection<java.lang.String> seconds, java.util.Collection<java.lang.String> minutes, java.util.Collection<java.lang.String> hours, java.util.Collection<java.lang.String> days, java.util.Collection<java.lang.String> weeks, java.util.Collection<java.lang.String> months, java.util.Collection<java.lang.String> years)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.time.temporal.ChronoUnit,​java.util.Collection<java.lang.String>> asMap()  
      java.util.Collection<java.lang.String> days()  
      java.util.Collection<java.lang.String> hours()  
      java.util.Collection<java.lang.String> minutes()  
      java.util.Collection<java.lang.String> months()  
      protected void putSpecialCase​(java.time.temporal.ChronoUnit unit, java.lang.String caseText, int caseAmount)  
      java.util.Collection<java.lang.String> seconds()  
      java.util.Map<java.time.temporal.ChronoUnit,​java.util.Map<java.lang.String,​java.lang.Integer>> specialCases()  
      java.util.Collection<java.lang.String> weeks()  
      java.lang.String wordSeparator()  
      java.util.Collection<java.lang.String> years()  
      • Methods inherited from class java.lang.Object

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

      • PatternsHolder

        protected PatternsHolder​(java.lang.String wordSeparator,
                                 java.util.Collection<java.lang.String> seconds,
                                 java.util.Collection<java.lang.String> minutes,
                                 java.util.Collection<java.lang.String> hours,
                                 java.util.Collection<java.lang.String> days,
                                 java.util.Collection<java.lang.String> weeks,
                                 java.util.Collection<java.lang.String> months,
                                 java.util.Collection<java.lang.String> years)
      • PatternsHolder

        protected PatternsHolder​(java.lang.String wordSeparator,
                                 java.lang.String[] seconds,
                                 java.lang.String[] minutes,
                                 java.lang.String[] hours,
                                 java.lang.String[] days,
                                 java.lang.String[] weeks,
                                 java.lang.String[] months,
                                 java.lang.String[] years)
    • Method Detail

      • wordSeparator

        public java.lang.String wordSeparator()
      • seconds

        public java.util.Collection<java.lang.String> seconds()
      • minutes

        public java.util.Collection<java.lang.String> minutes()
      • hours

        public java.util.Collection<java.lang.String> hours()
      • days

        public java.util.Collection<java.lang.String> days()
      • weeks

        public java.util.Collection<java.lang.String> weeks()
      • months

        public java.util.Collection<java.lang.String> months()
      • years

        public java.util.Collection<java.lang.String> years()
      • specialCases

        public java.util.Map<java.time.temporal.ChronoUnit,​java.util.Map<java.lang.String,​java.lang.Integer>> specialCases()
      • putSpecialCase

        protected void putSpecialCase​(java.time.temporal.ChronoUnit unit,
                                      java.lang.String caseText,
                                      int caseAmount)
      • asMap

        public java.util.Map<java.time.temporal.ChronoUnit,​java.util.Collection<java.lang.String>> asMap()