Calendar cal = Calendar.getInstance(); cal.set( 2004, 2, 5, 10, 2, 2 ); System.out.println( DateUtils.round( cal.getTime() , DateUtils.SEMI_MONTH ) );