Barry Kaplan wrote:
> I need to sync the Drools concept of time with joda -- I would like to create
> "class DroolsMillisProvider extends MillisProvider" and plug that into
> DateTimeUtils.cMillisProvider. But all that is private. Would joda consider
> exposing this capability?
>
> At a minimum it would take (I have done this for my project):
>
> 1. Make DateTimeUtils.MillisProvider a public class and make its method
> public
> 2. Modify all subclasses of MillisProvider to make their getMillis() public
> 3. Add the method:
> public static final void setMillisProvider(MillisProvider provider) {
> checkPermission();
> cMillisProvider = provider;
> }
I think this has come up enough for a patch with tests to be accepted :-)
Stephen
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest