Package javax.time.calendar
Class PeriodParser.ParseValues
- java.lang.Object
-
- javax.time.calendar.PeriodParser.ParseValues
-
- Enclosing class:
- PeriodParser
private static class PeriodParser.ParseValues extends java.lang.ObjectParse values container created for each parse.
-
-
Field Summary
Fields Modifier and Type Field Description private intdaysThe number of days.private inthoursThe number of hours.private intindexParser position index.private intminutesThe number of minutes.private intmonthsThe number of months.private longnanosThe number of nanoseconds.private booleannegativeSecsWhether the seconds were negative.private intsecondsThe number of seconds.private java.lang.StringtextOriginal text.private intyearsThe 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) PeriodtoPeriod()
-
-
-
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.
-
-
Method Detail
-
toPeriod
Period toPeriod()
-
-