ICU-10650 53m1 BRS task - updates for non-ascii code in C

X-SVN-Rev: 34953
This commit is contained in:
Scott Russell 2014-01-21 20:58:03 +00:00
parent e95bc4dfe8
commit 3059ac945f
4 changed files with 8 additions and 55 deletions

View File

@ -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.
*******************************************************************************
*/
@ -70,15 +70,6 @@ static void dtitvfmtPreDefined() {
i++;
}
u_fclose(out);
//! [dtitvfmtPreDefined]
/* output of the sample code:
*********************************************************************************************************************************************************
Skeleton from to Date Interval in en_US Date Interval in Ja
yMMMd 2007-10-10 10:10:10 2008-10-10 10:10:10 Nov 10, 2007 Nov 10, 2008 2007111020081110
MMMMd 2008-10-10 10:10:10 2008-11-10 10:10:10 November 10 December 10 11101210
jm 2008-11-10 10:10:10 2008-11-10 15:10:10 10:10 AM 3:10 PM 10:1015:10
*********************************************************************************************************************************************************/
}
static void dtitvfmtCustomized() {
@ -138,15 +129,6 @@ static void dtitvfmtCustomized() {
}
}
u_fclose(out);
//! [dtitvfmtCustomized]
/* output of the sample code:
***************************************************************************************************************************************************************
Skeleton from to Date Interval in en_US Date Interval in Ja
yMMMd 2007-10-10 10:10:10 2007-11-10 10:10:10 2007 Diff Oct 10 --- Nov 10 2007 Diff 10 10 --- 11 10
yMMMd 2007-11-10 10:10:10 2007-11-10 22:10:10 Nov 10, 2007 20071110
Hm 2007-10-10 10:10:10 2007-11-10 10:10:10 10/10/2007, 10:10 ~~~ 11/10/2007, 10:10 2007/10/10 10:10 ~~~ 2007/11/10 10:10
Hm 2007-11-10 10:10:10 2007-11-10 22:10:10 2007 Nov 10 10:10 ~ 22:10 2007 11 10 10:10 ~ 22:10
***************************************************************************************************************************************************************/
}
int main (int argc, char* argv[])

View File

@ -1,6 +1,6 @@
/********************************************************************
* COPYRIGHT:
* Copyright (c) 2008-2013, International Business Machines Corporation and
* Copyright (c) 2008-2014, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
//! [getBestPatternExample1]
@ -67,22 +67,6 @@ static void getBestPatternExample() {
/* close the file resource */
u_fclose(f);
delete cal;
//! [getBestPatternExample]
/* output of the sample code:
***********************************************************************************************************
Skeleton en_US fr_FR zh_CN
yQQQQ 4th quarter 1999 4e trimestre 1999 1999
yMMMM October 1999 octobre 1999 199910
MMMMd October 13 13 octobre 1013
hhmm 11:58 PM 11:58 PM 11:58
jjmm 11:58 PM 23:58 11:58
************************************************************************************************************/
}
static void addPatternExample() {
@ -167,19 +151,6 @@ static void replaceFieldTypesExample() {
delete cal;
u_fclose(out);
//! [replaceFieldTypesExample]
/* output of the sample code:
*************************************************************************************************
Pattern before replacement:
EEEE d MMMM y HH:mm:ss zzzz
Date/Time format in fr_FR:
jeudi 14 octobre 1999 05:58:59 heure avancée dEurope centrale
Pattern after replacement:
EEEE d MMMM y HH:mm:ss vvvv
Date/Time format in fr_FR:
jeudi 14 octobre 1999 05:58:59 heure de lEurope centrale
*************************************************************************************************/
}
int main (int argc, char* argv[])

View File

@ -1396,8 +1396,8 @@ static const UChar yesterday_enDefault[] = { 0x79,0x65,0x73,0x74,0x65,0x72,0x64,
static const UChar yesterday_enTitle[] = { 0x59,0x65,0x73,0x74,0x65,0x72,0x64,0x61,0x79,0 }; /* "Yesterday" sentence-begin, uiListOrMenu, standalone */
static const UChar today_nbDefault[] = { 0x69,0x20,0x64,0x61,0x67,0 }; /* "i dag" */
static const UChar today_nbTitle[] = { 0x49,0x20,0x64,0x61,0x67,0 }; /* "I dag" sentence-begin, standalone */
static const UChar yesterday_nbDefault[] = { 0x69,0x20,0x67,0xE5,0x72,0 }; /* "i går" */
static const UChar yesterday_nbTitle[] = { 0x49,0x20,0x67,0xE5,0x72,0 }; /* "I går" sentence-begin, standalone */
static const UChar yesterday_nbDefault[] = { 0x69,0x20,0x67,0xE5,0x72,0 };
static const UChar yesterday_nbTitle[] = { 0x49,0x20,0x67,0xE5,0x72,0 };
typedef struct {
const char * locale;

View File

@ -119,8 +119,8 @@ typedef struct {
static const AppendItemNameData appendItemNameData[] = { /* for Finnish */
{ UDATPG_YEAR_FIELD, {0x0076,0x0075,0x006F,0x0073,0x0069,0} }, /* "vuosi" */
{ UDATPG_MONTH_FIELD, {0x006B,0x0075,0x0075,0x006B,0x0061,0x0075,0x0073,0x0069,0} }, /* "kuukausi" */
{ UDATPG_WEEKDAY_FIELD, {0x0076,0x0069,0x0069,0x006B,0x006F,0x006E,0x0070,0x00E4,0x0069,0x0076,0x00E4,0} }, /* "viikonpäivä" */
{ UDATPG_DAY_FIELD, {0x0070,0x00E4,0x0069,0x0076,0x00E4,0} }, /* "päivä" */
{ UDATPG_WEEKDAY_FIELD, {0x0076,0x0069,0x0069,0x006B,0x006F,0x006E,0x0070,0x00E4,0x0069,0x0076,0x00E4,0} },
{ UDATPG_DAY_FIELD, {0x0070,0x00E4,0x0069,0x0076,0x00E4,0} },
{ UDATPG_HOUR_FIELD, {0x0074,0x0075,0x006E,0x0074,0x0069,0} }, /* "tunti" */
{ UDATPG_FIELD_COUNT, {0} } /* terminator */
};