@ Pure @ Inline ( value = "(long) (($1).doubleValue() * $2.MILLIS_IN_WEEK)" , imported = { TimeExtensions . class } ) public static long weeks ( Number weeks ) { return ( long ) ( weeks . doubleValue ( ) * MILLIS_IN_WEEK ) ; }
Convert weeks to milliseconds .