Remove obsolete comment

This commit is contained in:
Tim Chevalier 2024-06-18 12:43:26 -07:00
parent c0b6c0d16b
commit e50813438f

View file

@ -223,6 +223,7 @@ namespace message2 {
TimeZone* tz;
if (zoneName.length() == 0) {
// Floating time value -- use default time zone
tz = TimeZone::createDefault();
} else {
tz = TimeZone::createTimeZone(zoneName);
@ -252,8 +253,6 @@ namespace message2 {
LocalPointer<DateFormat> df(defaultDateTimeInstance(locale, errorCode));
CHECK_ERROR(errorCode);
// We have to copy the `const` reference that was passed in,
// because DateFormat::format() takes a non-const reference.
// Non-Gregorian calendars not supported yet
U_ASSERT(dateInfo.calendarName.length() == 0);