protected String r(String s,String u) throws Exception {
  Date d=parser.parse(s);
  Calendar c=Calendar.getInstance(UTC,Locale.ROOT);
  c.setTime(d);
  DateMathParser.round(c,u);
  return fmt.format(c.getTime());
}

protected String r ( String s , String u ) throws Exception { Date d = parser . parse ( s ) ; Calendar c = Calendar . getInstance ( UTC , Locale . ROOT ) ; c . setTime ( d ) ; DateMathParser . round ( c , u ) ; return fmt . format ( c . getTime ( ) ) ; }
macro : round : parses s , rounds with u , fmts
