public static String times ( final Number num ) { java . text . MessageFormat f = new java . text . MessageFormat ( context . get ( ) . getBundle ( ) . getString ( "times.choice" ) , currentLocale ( ) ) ; return f . format ( new Object [ ] { Math . abs ( num . intValue ( ) ) } ) ; }
Interprets numbers as occurrences .