This project was the home of code used to develop a modern date and time library for JDK8. Development has moved to OpenJDK and a separate backport project, threetenbp.
The Temporal.periodUntil and ChronoLocalDate.periodUntil methods use the name "period", but we only use that for date-based now via the Period class. The general term is "amount", but renaming to amountUntil() wouldn't be entirely clear. Renaming to until() is simple and effective, and keeps the methods grouped in the IDE.
The
Temporal.periodUntil
andChronoLocalDate.periodUntil
methods use the name "period", but we only use that for date-based now via thePeriod
class. The general term is "amount", but renaming toamountUntil()
wouldn't be entirely clear. Renaming tountil()
is simple and effective, and keeps the methods grouped in the IDE.