Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 26, 2024
1 parent d2f1aac commit c3090fb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,9 @@ protected Object processParsedValue(final Object value, final Format formatter)
@Test
public void testFormat() {
Locale.setDefault(Locale.UK);
//Calendar cal20051231 = Calendar.getInstance(GMT);
//cal20051231.setTimeInMillis(Instant.parse("2005-12-31T10:01:15.00Z").toEpochMilli());
// final Calendar cal20051231 = Calendar.getInstance(GMT);
// set as UTC milliseconds from the epoch
// cal20051231.setTimeInMillis(Instant.parse("2005-12-31T01:15:00.00Z").toEpochMilli());
final Calendar cal20051231 = createCalendar(GMT, 20051231, 11500);
// validator defaults to SHORT, but the format varies between JVMs
final DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
Expand Down

0 comments on commit c3090fb

Please sign in to comment.