alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (zh_Hans_MO.xml)

This example Java source code file (zh_Hans_MO.xml) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

gd/m/yy, grek, hh\:mm, hh\:mm\:ss, hms, knda, thai

The zh_Hans_MO.xml Java example source code

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<ldml>
	<identity>
		<version number="$Revision: 6465 $"/>
		<generation date="$Date: 2012-01-28 02:47:35 +0900 (Sat, 28 Jan 2012) $"/>
		<language type="zh"/>
		<script type="Hans"/>
		<territory type="MO"/>
	</identity>
	<localeDisplayNames>
		<languages>
			<language type="ast" draft="contributed">阿斯图里亚思文
			<language type="de_AT" draft="contributed">奥地利德文
			<language type="en_AU" draft="contributed">澳大利亚英文
			<language type="en_CA" draft="contributed">加拿大英文
			<language type="en_GB" draft="contributed">英国英文
			<language type="en_US" draft="contributed">美国英文
			<language type="es_419" draft="contributed">拉丁美洲西班牙文
			<language type="es_ES" draft="contributed">伊比利亚西班牙文
			<language type="fr_CA" draft="contributed">加拿大法文
			<language type="fr_CH" draft="contributed">瑞士法文
			<language type="gu" draft="contributed">古吉拉特文
			<language type="ml" draft="contributed">马拉雅拉姆文
			<language type="nl_BE" draft="contributed">佛兰芒文
			<language type="pag" draft="contributed">邦阿西楠文
			<language type="pt_BR" draft="contributed">巴西葡萄牙文
			<language type="pt_PT" draft="contributed">伊比利亚葡萄牙文
			<language type="su" draft="contributed">巽他文
			<language type="za" draft="contributed">壮文
			<language type="zh_Hans" draft="contributed">简体中文
			<language type="zh_Hant" draft="contributed">繁体中文
		</languages>
		<scripts>
			<script type="Arab" draft="contributed">阿拉伯文
			<script type="Armn" draft="contributed">亚美尼亚文
			<script type="Beng" draft="contributed">孟加拉文
			<script type="Cyrl" draft="contributed">西里尔文
			<script type="Deva" draft="contributed">天城文
			<script type="Ethi" draft="contributed">埃塞俄比亚文
			<script type="Geor" draft="contributed">格鲁吉亚文
			<script type="Grek" draft="contributed">希腊文
			<script type="Gujr" draft="contributed">古吉拉特文
			<script type="Hebr" draft="contributed">希伯来文
			<script type="Jpan" draft="contributed">日文
			<script type="Khmr" draft="contributed">高棉文
			<script type="Knda" draft="contributed">卡纳塔克文
			<script type="Laoo" draft="contributed">老挝文
			<script type="Latn" draft="contributed">拉丁文
			<script type="Mlym" draft="contributed">马拉雅拉姆文
			<script type="Mymr" draft="contributed">缅甸文
			<script type="Orya" draft="contributed">奥里亚文
			<script type="Sinh" draft="contributed">辛哈拉文
			<script type="Taml" draft="contributed">泰米尔文
			<script type="Telu" draft="contributed">泰卢固文
			<script type="Thaa" draft="contributed">塔安娜文
			<script type="Thai" draft="contributed">泰文
			<script type="Zxxx" draft="contributed">非书面文字
			<script type="Zzzz" draft="contributed">未知语系
		</scripts>
		<territories>
			<territory type="CC" draft="contributed">科科斯(基林)群岛
			<territory type="CP" draft="contributed">克利柏顿岛
			<territory type="GP" draft="contributed">瓜德罗普
			<territory type="LA" draft="contributed">老挝
			<territory type="ME" draft="contributed">黑山
			<territory type="MS" draft="contributed">蒙塞拉特
			<territory type="SC" draft="contributed">塞舌尔
		</territories>
		<variants>
			<variant type="1901" draft="contributed">传统德文拼字
			<variant type="1996" draft="contributed">1996 年德文拼字
			<variant type="AREVELA" draft="contributed">东亚美尼亚文
			<variant type="AREVMDA" draft="contributed">西亚美尼亚文
			<variant type="PINYIN" draft="contributed">拼音罗马字
			<variant type="POLYTON" draft="contributed">多音字母
			<variant type="REVISED" draft="contributed">修订的拼字
			<variant type="SAAHO" draft="contributed">萨霍文
			<variant type="WADEGILE" draft="contributed">韦氏拼音罗马字
		</variants>
		<keys>
			<key type="collation" draft="contributed">排序顺序
		</keys>
		<types>
			<type type="big5han" key="collation" draft="contributed">繁体中文排序顺序 (Big5)
			<type type="gb2312han" key="collation" draft="contributed">简体中文排序顺序 (GB2312)
			<type type="pinyin" key="collation" draft="contributed">拼音排序顺序
			<type type="stroke" key="collation" draft="contributed">笔画排序
		</types>
		<codePatterns>
			<codePattern type="script" draft="contributed">语系:{0}
			<codePattern type="territory" draft="contributed">地区:{0}
		</codePatterns>
	</localeDisplayNames>
	<characters>
		<exemplarCharacters type="punctuation" draft="contributed">[_ ﹏ \- — , 、 ; : ! ? … 。 · ‘ ’ “ ” ( ) [ ] 〈 〉 《 》 ﹁ ﹂ ﹃ ﹄ 【 】 〔 〕 / ~]
	</characters>
	<dates>
		<calendars>
			<calendar type="buddhist">
				<dateFormats>
					<dateFormatLength type="medium">
						<dateFormat>
							<pattern draft="contributed">Gy年M月d日
						</dateFormat>
					</dateFormatLength>
					<dateFormatLength type="short">
						<dateFormat>
							<pattern draft="contributed">Gd/M/yy
						</dateFormat>
					</dateFormatLength>
				</dateFormats>
				<dateTimeFormats>
					<availableFormats>
						<dateFormatItem id="yMEd" draft="contributed">Gy年M月d日,E
					</availableFormats>
				</dateTimeFormats>
			</calendar>
			<calendar type="gregorian">
				<months>
					<monthContext type="format">
						<monthWidth type="wide">
							<month type="1" draft="contributed">一月
							<month type="2" draft="contributed">二月
							<month type="3" draft="contributed">三月
							<month type="4" draft="contributed">四月
							<month type="5" draft="contributed">五月
							<month type="6" draft="contributed">六月
							<month type="7" draft="contributed">七月
							<month type="8" draft="contributed">八月
							<month type="9" draft="contributed">九月
							<month type="10" draft="contributed">十月
							<month type="11" draft="contributed">十一月
							<month type="12" draft="contributed">十二月
						</monthWidth>
					</monthContext>
					<monthContext type="stand-alone">
						<monthWidth type="abbreviated">
							<month type="1" draft="contributed">1月
							<month type="2" draft="contributed">2月
							<month type="3" draft="contributed">3月
							<month type="4" draft="contributed">4月
							<month type="5" draft="contributed">5月
							<month type="6" draft="contributed">6月
							<month type="7" draft="contributed">7月
							<month type="8" draft="contributed">8月
							<month type="9" draft="contributed">9月
							<month type="10" draft="contributed">10月
							<month type="11" draft="contributed">11月
							<month type="12" draft="contributed">12月
						</monthWidth>
						<monthWidth type="narrow">
							<month type="1" draft="contributed">1
							<month type="2" draft="contributed">2
							<month type="3" draft="contributed">3
							<month type="4" draft="contributed">4
							<month type="5" draft="contributed">5
							<month type="6" draft="contributed">6
							<month type="7" draft="contributed">7
							<month type="8" draft="contributed">8
							<month type="9" draft="contributed">9
							<month type="10" draft="contributed">10
							<month type="11" draft="contributed">11
							<month type="12" draft="contributed">12
						</monthWidth>
					</monthContext>
				</months>
				<quarters>
					<quarterContext type="format">
						<quarterWidth type="abbreviated">
							<quarter type="1" draft="contributed">1季度
							<quarter type="2" draft="contributed">2季度
							<quarter type="3" draft="contributed">3季度
							<quarter type="4" draft="contributed">4季度
						</quarterWidth>
						<quarterWidth type="wide">
							<quarter type="1" draft="contributed">第一季度
							<quarter type="2" draft="contributed">第二季度
							<quarter type="3" draft="contributed">第三季度
							<quarter type="4" draft="contributed">第四季度
						</quarterWidth>
					</quarterContext>
					<quarterContext type="stand-alone">
						<quarterWidth type="abbreviated">
							<quarter type="1" draft="contributed">1季度
							<quarter type="2" draft="contributed">2季度
							<quarter type="3" draft="contributed">3季度
							<quarter type="4" draft="contributed">4季度
						</quarterWidth>
					</quarterContext>
				</quarters>
				<dateFormats>
					<dateFormatLength type="medium">
						<dateFormat>
							<pattern draft="contributed">y年M月d日
						</dateFormat>
					</dateFormatLength>
					<dateFormatLength type="short">
						<dateFormat>
							<pattern draft="contributed">d/M/yy
						</dateFormat>
					</dateFormatLength>
				</dateFormats>
				<timeFormats>
					<timeFormatLength type="full">
						<timeFormat>
							<pattern draft="contributed">zzzzah:mm:ss
						</timeFormat>
					</timeFormatLength>
					<timeFormatLength type="long">
						<timeFormat>
							<pattern draft="contributed">zah:mm:ss
						</timeFormat>
					</timeFormatLength>
				</timeFormats>
				<dateTimeFormats>
					<availableFormats>
						<dateFormatItem id="Hm" draft="contributed">HH:mm
						<dateFormatItem id="Hms" draft="contributed">HH:mm:ss
						<dateFormatItem id="MMMMdd" draft="contributed">M月d日
						<dateFormatItem id="yM" draft="contributed">y年M月
						<dateFormatItem id="yQ" draft="contributed">y年第Q季度
						<dateFormatItem id="yQQQ" draft="contributed">y年第Q季度
						<dateFormatItem id="yyMM" draft="contributed">yy年M月
						<dateFormatItem id="yyyy" draft="contributed">yyyy年
						<dateFormatItem id="yyyyM" draft="contributed">yyyy年M月
						<dateFormatItem id="yyyyMMMM" draft="contributed">yyyy年M月
					</availableFormats>
					<intervalFormats>
						<intervalFormatItem id="h">
							<greatestDifference id="a" draft="contributed">ah时至ah时
							<greatestDifference id="h" draft="contributed">ah时至h时
						</intervalFormatItem>
						<intervalFormatItem id="hv">
							<greatestDifference id="a" draft="contributed">vah时至ah时
							<greatestDifference id="h" draft="contributed">vah时至h时
						</intervalFormatItem>
						<intervalFormatItem id="MMMEd">
							<greatestDifference id="d" draft="contributed">M月d日E至M月d日E
						</intervalFormatItem>
						<intervalFormatItem id="y">
							<greatestDifference id="y" draft="contributed">y–y年
						</intervalFormatItem>
						<intervalFormatItem id="yM">
							<greatestDifference id="M" draft="contributed">yy年M月至yy年M月
							<greatestDifference id="y" draft="contributed">yy年M月至yy年M月
						</intervalFormatItem>
						<intervalFormatItem id="yMd">
							<greatestDifference id="d" draft="contributed">d/M/yy至d/M/yy
							<greatestDifference id="M" draft="contributed">d/M/yy至d/M/yy
							<greatestDifference id="y" draft="contributed">d/M/yy至d/M/yy
						</intervalFormatItem>
						<intervalFormatItem id="yMEd">
							<greatestDifference id="d" draft="contributed">d/M/yyE至d/M/yyE
							<greatestDifference id="M" draft="contributed">d/M/yyE至d/M/yyE
							<greatestDifference id="y" draft="contributed">d/M/yyE至d/M/yyE
						</intervalFormatItem>
						<intervalFormatItem id="yMMMEd">
							<greatestDifference id="d" draft="contributed">y年M月d日E至M月d日E
						</intervalFormatItem>
					</intervalFormats>
				</dateTimeFormats>
				<fields>
					<field type="era">
						<displayName draft="contributed">纪元
					</field>
					<field type="day">
						<displayName draft="contributed">天
					</field>
					<field type="weekday">
						<displayName draft="contributed">星期
					</field>
					<field type="zone">
						<displayName draft="contributed">时区
					</field>
				</fields>
			</calendar>
			<calendar type="islamic">
				<dateFormats>
					<dateFormatLength type="short">
						<dateFormat>
							<pattern draft="contributed">Gd/M/yy
						</dateFormat>
					</dateFormatLength>
				</dateFormats>
				<dateTimeFormats>
					<availableFormats>
						<dateFormatItem id="Hm" draft="contributed">HH:mm
						<dateFormatItem id="Hms" draft="contributed">HH:mm:ss
						<dateFormatItem id="yMEd" draft="contributed">y年M月d日,E
					</availableFormats>
				</dateTimeFormats>
			</calendar>
			<calendar type="japanese">
				<eras>
					<eraAbbr>
						<era type="74" draft="contributed">康和
					</eraAbbr>
				</eras>
				<dateFormats>
					<dateFormatLength type="short">
						<dateFormat>
							<pattern draft="contributed">Gd/M/yy
						</dateFormat>
					</dateFormatLength>
				</dateFormats>
			</calendar>
			<calendar type="roc">
				<dateFormats>
					<dateFormatLength type="medium">
						<dateFormat>
							<pattern draft="contributed">Gy年M月d日
						</dateFormat>
					</dateFormatLength>
					<dateFormatLength type="short">
						<dateFormat>
							<pattern draft="contributed">Gd/M/yy
						</dateFormat>
					</dateFormatLength>
				</dateFormats>
			</calendar>
		</calendars>
		<timeZoneNames>
			<zone type="Pacific/Pago_Pago">
				<exemplarCity draft="contributed">帕果帕果
			</zone>
			<zone type="America/St_Barthelemy">
				<exemplarCity draft="contributed">圣巴太累米
			</zone>
			<zone type="America/Cambridge_Bay">
				<exemplarCity draft="contributed">剑桥湾
			</zone>
			<zone type="America/Rankin_Inlet">
				<exemplarCity draft="contributed">兰今湾
			</zone>
			<zone type="America/Coral_Harbour">
				<exemplarCity draft="contributed">阿蒂科肯
			</zone>
			<zone type="America/Santo_Domingo">
				<exemplarCity draft="contributed">圣多明戈
			</zone>
			<zone type="Asia/Qyzylorda">
				<exemplarCity draft="contributed">克孜洛尔达
			</zone>
			<zone type="Indian/Antananarivo">
				<exemplarCity draft="contributed">安塔那那利佛
			</zone>
			<zone type="Atlantic/Azores">
				<exemplarCity draft="contributed">亚速尔群岛
			</zone>
			<zone type="America/Grand_Turk">
				<exemplarCity draft="contributed">大特克
			</zone>
			<zone type="Europe/Zaporozhye">
				<exemplarCity draft="contributed">扎波罗什
			</zone>
			<zone type="America/North_Dakota/Center">
				<exemplarCity draft="contributed">北达科他州申特
			</zone>
			<zone type="America/Menominee">
				<exemplarCity draft="contributed">梅诺米尼
			</zone>
			<zone type="America/Indiana/Vincennes">
				<exemplarCity draft="contributed">印第安纳州温森斯
			</zone>
			<zone type="America/Indiana/Petersburg">
				<exemplarCity draft="contributed">印第安纳州彼得斯堡
			</zone>
			<zone type="America/Indiana/Knox">
				<exemplarCity draft="contributed">印第安纳州诺克斯
			</zone>
			<zone type="America/Indiana/Marengo">
				<exemplarCity draft="contributed">印第安纳州马伦戈
			</zone>
			<zone type="America/Indiana/Vevay">
				<exemplarCity draft="contributed">印第安纳州维维市
			</zone>
			<zone type="America/Kentucky/Monticello">
				<exemplarCity draft="contributed">肯塔基州蒙蒂塞洛
			</zone>
		</timeZoneNames>
	</dates>
	<numbers>
		<currencies>
			<currency type="AWG">
				<displayName draft="contributed">阿鲁巴弗罗林
			</currency>
			<currency type="BAM">
				<displayName draft="contributed">波斯尼亚-黑塞哥维那可兑换马克
			</currency>
			<currency type="FKP">
				<displayName draft="contributed">福克兰群岛镑
			</currency>
			<currency type="KZT">
				<displayName draft="contributed">哈萨克斯坦腾格
			</currency>
			<currency type="NIO">
				<displayName draft="contributed">尼加拉瓜科多巴
			</currency>
		</currencies>
	</numbers>
	<units>
		<unit type="day">
			<unitPattern count="other" draft="contributed">{0}天
			<unitPattern count="other" alt="short" draft="contributed">{0}天
		</unit>
		<unit type="minute">
			<unitPattern count="other" draft="contributed">{0}分钟
		</unit>
		<unit type="month">
			<unitPattern count="other" draft="contributed">{0}个月
			<unitPattern count="other" alt="short" draft="contributed">{0}个月
		</unit>
		<unit type="second">
			<unitPattern count="other" draft="contributed">{0}秒钟
		</unit>
	</units>
	<posix>
		<messages>
			<yesstr draft="contributed">确定:是
			<nostr draft="contributed">否定:否
		</messages>
	</posix>
</ldml>

Other Java examples (source code examples)

Here is a short list of links related to this Java zh_Hans_MO.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.