Class PeriodParser.ParseValues

  • Enclosing class:
    PeriodParser

    private static class PeriodParser.ParseValues
    extends java.lang.Object
    Parse values container created for each parse.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int days
      The number of days.
      private int hours
      The number of hours.
      private int index
      Parser position index.
      private int minutes
      The number of minutes.
      private int months
      The number of months.
      private long nanos
      The number of nanoseconds.
      private boolean negativeSecs
      Whether the seconds were negative.
      private int seconds
      The number of seconds.
      private java.lang.String text
      Original text.
      private int years
      The number of years.
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseValues​(java.lang.String text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) Period toPeriod()  
      • Methods inherited from class java.lang.Object

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

      • years

        private int years
        The number of years.
      • months

        private int months
        The number of months.
      • days

        private int days
        The number of days.
      • hours

        private int hours
        The number of hours.
      • minutes

        private int minutes
        The number of minutes.
      • seconds

        private int seconds
        The number of seconds.
      • nanos

        private long nanos
        The number of nanoseconds.
      • negativeSecs

        private boolean negativeSecs
        Whether the seconds were negative.
      • index

        private int index
        Parser position index.
      • text

        private java.lang.String text
        Original text.
    • Constructor Detail

      • ParseValues

        ParseValues​(java.lang.String text)
    • Method Detail