Please Review java.time static interface methods move to supporting class

roger riggs roger.riggs at oracle.com
Wed Oct 2 16:01:22 UTC 2013


As noted in the issue[1], the static methods in the TemporalAdjuster and 
TemporalQuery
interfaces that provide implementations of Adjusters and Queries seem 
out of
place and are better located in a related supporting class so the 
purpose and
function of the interfaces are not diluted.  Adding more methods in the 
future
will be a better fit in the class.

The static methods of TemporalAdjuster are moved to TemporalAdjusters
and the static method of TemporalQuery are moved to TemporalQueries.
Those classes were previously package private and are now public.

Please review and comment:

javadoc:
   http://cr.openjdk.java.net/~rriggs/javadoc-temporal-statics-8025722/

webrev:
   http://cr.openjdk.java.net/~rriggs/webrev-temporal-statics-8025722/

Thanks, Roger

[1] https://bugs.openjdk.java.net/browse/JDK-8025722





More information about the core-libs-dev mailing list