Class PeriodParser.ParseValues
java.lang.Object
javax.time.calendar.PeriodParser.ParseValues
- Enclosing class:
PeriodParser
Parse values container created for each parse.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intThe number of days.private intThe number of hours.private intParser position index.private intThe number of minutes.private intThe number of months.private longThe number of nanoseconds.private booleanWhether the seconds were negative.private intThe number of seconds.private StringOriginal text.private intThe number of years. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
years
private int yearsThe number of years. -
months
private int monthsThe number of months. -
days
private int daysThe number of days. -
hours
private int hoursThe number of hours. -
minutes
private int minutesThe number of minutes. -
seconds
private int secondsThe number of seconds. -
nanos
private long nanosThe number of nanoseconds. -
negativeSecs
private boolean negativeSecsWhether the seconds were negative. -
index
private int indexParser position index. -
text
Original text.
-
-
Constructor Details
-
ParseValues
ParseValues(String text)
-
-
Method Details
-
toPeriod
Period toPeriod()
-