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;
    } 
-- 
View this message in context: 
http://n2.nabble.com/Making-MillisProvider-public-and-pluggable-tp4134498p4134498.html
Sent from the Joda-Interest mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to