Skip to content

Commit

Permalink
Make DateTimeUtils.SYSTEM_MILLIS_PROVIDER public
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Feb 21, 2016
1 parent c55c81b commit da91f20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
7 changes: 5 additions & 2 deletions src/main/java/org/joda/time/DateTimeUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down

0 comments on commit da91f20

Please sign in to comment.