The following sections provide locale information for the
Chinese (Traditional Han, Hong Kong SAR China) locale. This information
includes default currency and mathematical characters, presentation
settings, and input and output formats for dates.
Default Symbols
Table 1. The basic default
symbols used for currency and mathematical expressions in this locale
Symbol Description |
Symbol |
decimalseparator |
. |
groupingseparator |
, |
Currency |
HK$ |
Percent |
% |
Zero Digit |
0 |
Minus Sign |
- |
Plus Sign |
+ |
Exponential |
E |
Infinity |
∞ |
Default Presentation Settings
Table 2. Default values for the presentation settings
Setting |
Default |
negativeindicator (prefix) |
- |
negativeindicator (suffix) |
|
Formats for Date Outputs
Table 3. Output format that is used for date related data types in each
presentation
Data Type |
Style |
Output Format |
Example |
date |
numeric |
yyyyMMdd |
20030613 |
|
short |
yy年M月d日 |
03年6月13日 |
|
medium |
yyyy年M月d日 |
2003年6月13日 |
|
long |
yyyy年M月d日 |
2003年6月13日 |
|
full |
yyyy年M月d日EEEE |
2003年6月13日星期五 |
day_of_month |
numeric |
d |
13 |
|
short |
d |
13 |
|
medium |
d |
13 |
|
long |
d |
13 |
|
full |
d |
13 |
day_of_week |
numeric |
e |
6 |
|
short |
e |
6 |
|
medium |
EEE |
週五 |
|
long |
EEEE |
星期五 |
|
full |
EEEE |
星期五 |
datetime |
numeric |
yyyyMMdd H.mm |
20030613 18.52 |
|
short |
yy年M月d日ah:mm |
03年6月13日下午6:52 |
|
medium |
yyyy年M月d日ahh:mm:ss |
2003年6月13日下午06:52:35 |
month |
numeric |
M |
6 |
|
short |
M |
6 |
|
medium |
MMM |
6月 |
|
long |
MMMM |
6月 |
|
full |
MMMM |
6月 |
time |
numeric |
H.mm |
18.52 |
|
short |
ah:mm |
下午6:52 |
|
medium |
ahh:mm:ss |
下午06:52:35 |
year |
numeric |
yyyy |
2003 |
|
short |
yy |
03 |
|
medium |
yyyy |
2003 |
|
long |
yyyy |
2003 |
|
full |
yyyy G |
2003 公元 |
Formats for Date Inputs
Table 4. Applicable date input formats for this locale
Data Type |
Input Format |
Example |
date |
yy年M月d日 |
03年6月13日 |
|
yyyy年M月d日 |
2003年6月13日 |
|
yyyy年M月d日 |
2003年6月13日 |
|
yyyy年M月d日EEEE |
2003年6月13日星期五 |
|
yyyyMMdd |
20030613 |
|
yyyy/M/d |
2003/6/13 |
|
yyyy/M/d |
2003/6/13 |
|
yy-M-d |
03-6-13 |
|
yyyy-M-d |
2003-6-13 |
day_of_month |
d |
13 |
|
dd |
13 |
day_of_week |
e |
6 |
|
ee |
06 |
|
EEE |
週五 |
|
EEEE |
星期五 |
datetime |
yy年M月d日ah:mm |
03年6月13日下午6:52 |
|
yyyy年M月d日ahh:mm:ss |
2003年6月13日下午06:52:35 |
|
yyyy/M/d ah:mm |
2003/6/13 下午6:52 |
|
yyyy/M/d ah:mm:ss |
2003/6/13 下午6:52:35 |
|
yy-M-d ah:mm |
03-6-13 下午6:52 |
|
yyyy-M-d ahh:mm:ss |
2003-6-13 下午06:52:35 |
month |
M |
6 |
|
MM |
06 |
|
MMM |
6月 |
|
MMMM |
6月 |
time |
ah:mm |
下午6:52 |
|
ahh:mm:ss |
下午06:52:35 |
|
ah:mm:ss |
下午6:52:35 |
year |
yy |
03 |
|
'yy |
yy |
|
yyyy |
2003 |
|
yyyy G |
2003 公元 |