diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index f9bf12c28..0a71db17d 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -14,6 +14,11 @@ This is the same license as all of Apache, plus other open source projects such ** http://www.joda.org/joda-time/related.html ** +Enhancements in 2.9.3 +------------------ + - Make DateTimeUtils.SYSTEM_MILLIS_PROVIDER public [#357] + + Bug fixes in 2.9.2 ------------------ - Fix bug in time-zone binary search [#332] diff --git a/src/main/java/org/joda/time/DateTimeUtils.java b/src/main/java/org/joda/time/DateTimeUtils.java index 6f00bda41..446aef404 100644 --- a/src/main/java/org/joda/time/DateTimeUtils.java +++ b/src/main/java/org/joda/time/DateTimeUtils.java @@ -38,8 +38,11 @@ */ public class DateTimeUtils { - /** The singleton instance of the system millisecond provider. */ - private static final SystemMillisProvider SYSTEM_MILLIS_PROVIDER = new SystemMillisProvider(); + /** + * The singleton instance of the system millisecond provider. + */ + public static final MillisProvider SYSTEM_MILLIS_PROVIDER = new SystemMillisProvider(); + /** The millisecond provider currently in use. */ private static volatile MillisProvider cMillisProvider = SYSTEM_MILLIS_PROVIDER; /**