public void testDateFormatMinutes() {
String test = "%s";
String escapedString = BucketPath.escapeString(
test, headers, true, Calendar.MINUTE, 5);
System.out.println("Escaped String: " + escapedString);
<BUG>Calendar cal2 = Calendar.getInstance();
cal2.set(2012, 5, 23, 13, 45, 0);
cal2.set(Calendar.MILLISECOND, 0);
String expectedString = String.valueOf(cal2.getTimeInMillis() / 1000);</BUG>
System.out.println("Expected String: " + expectedString);

public void testDateFormatMinutes() {
String test = "%s";
String escapedString = BucketPath.escapeString(
test, headers, true, Calendar.MINUTE, 5);
System.out.println("Escaped String: " + escapedString);
Calendar cal2 = createCalendar(2012, 5, 23, 13, 45, 0, 0, null);
String expectedString = String.valueOf(cal2.getTimeInMillis() / 1000);
System.out.println("Expected String: " + expectedString);
