format.setTimeZone(TimeZone.getDefault());
}
Date date = new Date(ts);
return format.format(date);
}
<BUG>private static long roundDown(int roundDown, int unit, long ts) {
</BUG>
long timestamp = ts;
if (roundDown <= 0) {
roundDown = 1;

format.setTimeZone(TimeZone.getDefault());
}
Date date = new Date(ts);
return format.format(date);
}
private static long roundDown(int roundDown, int unit, long ts, TimeZone timeZone) {
long timestamp = ts;
if (roundDown <= 0) {
roundDown = 1;
