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