Index: source/i18n/dtitvfmt.cpp |
diff --git a/source/i18n/dtitvfmt.cpp b/source/i18n/dtitvfmt.cpp |
index 33b7e611dc2e3eb46a4d04e47d51c3dbb9c4f653..e3a2c4ea6bb6870ac9ab979a64dfea8a3534376f 100644 |
--- a/source/i18n/dtitvfmt.cpp |
+++ b/source/i18n/dtitvfmt.cpp |
@@ -1,5 +1,5 @@ |
/******************************************************************************* |
-* Copyright (C) 2008-2013, International Business Machines Corporation and |
+* Copyright (C) 2008-2014, International Business Machines Corporation and |
* others. All Rights Reserved. |
******************************************************************************* |
* |
@@ -820,6 +820,8 @@ DateIntervalFormat::getDateTimeSkeleton(const UnicodeString& skeleton, |
case LOW_G: |
case LOW_E: |
case LOW_C: |
+ case CAP_U: |
+ case LOW_R: |
normalizedDateSkeleton.append(ch); |
dateSkeleton.append(ch); |
break; |
@@ -1470,7 +1472,10 @@ DateIntervalFormat::fgCalendarFieldToPatternLetter[] = |
/*wWd*/ LOW_W, CAP_W, LOW_D, |
/*DEF*/ CAP_D, CAP_E, CAP_F, |
/*ahH*/ LOW_A, LOW_H, CAP_H, |
- /*m..*/ LOW_M, |
+ /*msS*/ LOW_M, LOW_S, CAP_S, // MINUTE, SECOND, MILLISECOND |
+ /*z.Y*/ LOW_Z, SPACE, CAP_Y, // ZONE_OFFSET, DST_OFFSET, YEAR_WOY, |
+ /*eug*/ LOW_E, LOW_U, LOW_G, // DOW_LOCAL, EXTENDED_YEAR, JULIAN_DAY, |
+ /*A..*/ CAP_A, SPACE, SPACE, // MILLISECONDS_IN_DAY, IS_LEAP_MONTH, FIELD_COUNT |
}; |