public double getConvertFactor ( CalendarPeriod from ) { if ( field == CalendarPeriod . Field . Month || field == CalendarPeriod . Field . Year ) { log . warn ( " CalendarDate.convert on Month or Year" ) ; } return ( double ) from . millisecs ( ) / millisecs ( ) ; }
Get the conversion factor of the other CalendarPeriod to this one