Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
cb5188a2
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
cb5188a2
编写于
1月 21, 2013
作者:
L
lana
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
95c7641a
e0ece442
变更
64
展开全部
隐藏空白更改
内联
并排
Showing
64 changed file
with
6828 addition
and
145 deletion
+6828
-145
make/java/java/FILES_java.gmk
make/java/java/FILES_java.gmk
+5
-0
make/tools/src/build/tools/cldrconverter/Bundle.java
make/tools/src/build/tools/cldrconverter/Bundle.java
+13
-3
make/tools/src/build/tools/cldrconverter/CLDRConverter.java
make/tools/src/build/tools/cldrconverter/CLDRConverter.java
+59
-23
make/tools/src/build/tools/cldrconverter/CalendarType.java
make/tools/src/build/tools/cldrconverter/CalendarType.java
+20
-4
make/tools/src/build/tools/cldrconverter/LDMLParseHandler.java
...tools/src/build/tools/cldrconverter/LDMLParseHandler.java
+59
-12
src/share/classes/java/sql/BatchUpdateException.java
src/share/classes/java/sql/BatchUpdateException.java
+2
-2
src/share/classes/java/sql/PreparedStatement.java
src/share/classes/java/sql/PreparedStatement.java
+1
-1
src/share/classes/java/sql/Statement.java
src/share/classes/java/sql/Statement.java
+8
-9
src/share/classes/java/util/concurrent/atomic/DoubleAccumulator.java
...lasses/java/util/concurrent/atomic/DoubleAccumulator.java
+239
-0
src/share/classes/java/util/concurrent/atomic/DoubleAdder.java
...hare/classes/java/util/concurrent/atomic/DoubleAdder.java
+227
-0
src/share/classes/java/util/concurrent/atomic/LongAccumulator.java
.../classes/java/util/concurrent/atomic/LongAccumulator.java
+236
-0
src/share/classes/java/util/concurrent/atomic/LongAdder.java
src/share/classes/java/util/concurrent/atomic/LongAdder.java
+228
-0
src/share/classes/java/util/concurrent/atomic/Striped64.java
src/share/classes/java/util/concurrent/atomic/Striped64.java
+417
-0
src/share/classes/java/util/spi/CalendarNameProvider.java
src/share/classes/java/util/spi/CalendarNameProvider.java
+21
-1
src/share/classes/sun/text/resources/FormatData.java
src/share/classes/sun/text/resources/FormatData.java
+149
-1
src/share/classes/sun/text/resources/ar/FormatData_ar.java
src/share/classes/sun/text/resources/ar/FormatData_ar.java
+149
-1
src/share/classes/sun/text/resources/be/FormatData_be.java
src/share/classes/sun/text/resources/be/FormatData_be.java
+60
-1
src/share/classes/sun/text/resources/bg/FormatData_bg.java
src/share/classes/sun/text/resources/bg/FormatData_bg.java
+72
-1
src/share/classes/sun/text/resources/ca/FormatData_ca.java
src/share/classes/sun/text/resources/ca/FormatData_ca.java
+55
-1
src/share/classes/sun/text/resources/cs/FormatData_cs.java
src/share/classes/sun/text/resources/cs/FormatData_cs.java
+53
-1
src/share/classes/sun/text/resources/da/FormatData_da.java
src/share/classes/sun/text/resources/da/FormatData_da.java
+95
-1
src/share/classes/sun/text/resources/de/FormatData_de.java
src/share/classes/sun/text/resources/de/FormatData_de.java
+103
-1
src/share/classes/sun/text/resources/el/FormatData_el.java
src/share/classes/sun/text/resources/el/FormatData_el.java
+93
-1
src/share/classes/sun/text/resources/es/FormatData_es.java
src/share/classes/sun/text/resources/es/FormatData_es.java
+103
-1
src/share/classes/sun/text/resources/et/FormatData_et.java
src/share/classes/sun/text/resources/et/FormatData_et.java
+55
-1
src/share/classes/sun/text/resources/fi/FormatData_fi.java
src/share/classes/sun/text/resources/fi/FormatData_fi.java
+128
-1
src/share/classes/sun/text/resources/fr/FormatData_fr.java
src/share/classes/sun/text/resources/fr/FormatData_fr.java
+143
-1
src/share/classes/sun/text/resources/hi/FormatData_hi_IN.java
...share/classes/sun/text/resources/hi/FormatData_hi_IN.java
+55
-1
src/share/classes/sun/text/resources/hr/FormatData_hr.java
src/share/classes/sun/text/resources/hr/FormatData_hr.java
+93
-1
src/share/classes/sun/text/resources/hu/FormatData_hu.java
src/share/classes/sun/text/resources/hu/FormatData_hu.java
+78
-1
src/share/classes/sun/text/resources/is/FormatData_is.java
src/share/classes/sun/text/resources/is/FormatData_is.java
+44
-1
src/share/classes/sun/text/resources/it/FormatData_it.java
src/share/classes/sun/text/resources/it/FormatData_it.java
+102
-1
src/share/classes/sun/text/resources/iw/FormatData_iw.java
src/share/classes/sun/text/resources/iw/FormatData_iw.java
+77
-1
src/share/classes/sun/text/resources/ja/FormatData_ja.java
src/share/classes/sun/text/resources/ja/FormatData_ja.java
+93
-1
src/share/classes/sun/text/resources/ko/FormatData_ko.java
src/share/classes/sun/text/resources/ko/FormatData_ko.java
+93
-1
src/share/classes/sun/text/resources/lt/FormatData_lt.java
src/share/classes/sun/text/resources/lt/FormatData_lt.java
+63
-1
src/share/classes/sun/text/resources/lv/FormatData_lv.java
src/share/classes/sun/text/resources/lv/FormatData_lv.java
+72
-1
src/share/classes/sun/text/resources/mk/FormatData_mk.java
src/share/classes/sun/text/resources/mk/FormatData_mk.java
+55
-1
src/share/classes/sun/text/resources/ms/FormatData_ms.java
src/share/classes/sun/text/resources/ms/FormatData_ms.java
+78
-15
src/share/classes/sun/text/resources/mt/FormatData_mt.java
src/share/classes/sun/text/resources/mt/FormatData_mt.java
+29
-15
src/share/classes/sun/text/resources/nl/FormatData_nl.java
src/share/classes/sun/text/resources/nl/FormatData_nl.java
+142
-1
src/share/classes/sun/text/resources/pl/FormatData_pl.java
src/share/classes/sun/text/resources/pl/FormatData_pl.java
+102
-1
src/share/classes/sun/text/resources/pt/FormatData_pt.java
src/share/classes/sun/text/resources/pt/FormatData_pt.java
+95
-1
src/share/classes/sun/text/resources/ro/FormatData_ro.java
src/share/classes/sun/text/resources/ro/FormatData_ro.java
+63
-1
src/share/classes/sun/text/resources/ru/FormatData_ru.java
src/share/classes/sun/text/resources/ru/FormatData_ru.java
+119
-1
src/share/classes/sun/text/resources/sk/FormatData_sk.java
src/share/classes/sun/text/resources/sk/FormatData_sk.java
+54
-1
src/share/classes/sun/text/resources/sl/FormatData_sl.java
src/share/classes/sun/text/resources/sl/FormatData_sl.java
+55
-1
src/share/classes/sun/text/resources/sr/FormatData_sr.java
src/share/classes/sun/text/resources/sr/FormatData_sr.java
+68
-15
src/share/classes/sun/text/resources/sv/FormatData_sv.java
src/share/classes/sun/text/resources/sv/FormatData_sv.java
+109
-1
src/share/classes/sun/text/resources/th/FormatData_th.java
src/share/classes/sun/text/resources/th/FormatData_th.java
+116
-1
src/share/classes/sun/text/resources/tr/FormatData_tr.java
src/share/classes/sun/text/resources/tr/FormatData_tr.java
+120
-1
src/share/classes/sun/text/resources/uk/FormatData_uk.java
src/share/classes/sun/text/resources/uk/FormatData_uk.java
+72
-1
src/share/classes/sun/text/resources/vi/FormatData_vi.java
src/share/classes/sun/text/resources/vi/FormatData_vi.java
+103
-1
src/share/classes/sun/text/resources/zh/FormatData_zh.java
src/share/classes/sun/text/resources/zh/FormatData_zh.java
+109
-1
src/share/classes/sun/text/resources/zh/FormatData_zh_TW.java
...share/classes/sun/text/resources/zh/FormatData_zh_TW.java
+108
-1
src/share/classes/sun/util/locale/provider/CalendarDataUtility.java
...classes/sun/util/locale/provider/CalendarDataUtility.java
+15
-2
src/share/classes/sun/util/locale/provider/CalendarNameProviderImpl.java
...es/sun/util/locale/provider/CalendarNameProviderImpl.java
+6
-1
src/share/classes/sun/util/locale/provider/LocaleResources.java
...are/classes/sun/util/locale/provider/LocaleResources.java
+10
-1
test/java/util/Calendar/CldrFormatNamesTest.java
test/java/util/Calendar/CldrFormatNamesTest.java
+178
-0
test/java/util/concurrent/atomic/DoubleAdderDemo.java
test/java/util/concurrent/atomic/DoubleAdderDemo.java
+164
-0
test/java/util/concurrent/atomic/LongAdderDemo.java
test/java/util/concurrent/atomic/LongAdderDemo.java
+158
-0
test/sun/security/tools/policytool/UpdatePermissions.html
test/sun/security/tools/policytool/UpdatePermissions.html
+1
-1
test/sun/text/resources/LocaleData
test/sun/text/resources/LocaleData
+1134
-0
test/sun/text/resources/LocaleDataTest.java
test/sun/text/resources/LocaleDataTest.java
+2
-2
未找到文件。
make/java/java/FILES_java.gmk
浏览文件 @
cb5188a2
...
...
@@ -373,6 +373,11 @@ JAVA_JAVA_java = \
java/util/concurrent/atomic/AtomicReferenceArray.java \
java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java \
java/util/concurrent/atomic/AtomicStampedReference.java \
java/util/concurrent/atomic/DoubleAccumulator.java \
java/util/concurrent/atomic/DoubleAdder.java \
java/util/concurrent/atomic/LongAccumulator.java \
java/util/concurrent/atomic/LongAdder.java \
java/util/concurrent/atomic/Striped64.java \
java/util/concurrent/locks/AbstractOwnableSynchronizer.java \
java/util/concurrent/locks/AbstractQueuedLongSynchronizer.java \
java/util/concurrent/locks/AbstractQueuedSynchronizer.java \
...
...
make/tools/src/build/tools/cldrconverter/Bundle.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012,
2013,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -274,7 +274,7 @@ class Bundle {
handleDateTimeFormatPatterns
(
DATETIME_PATTERN_KEYS
,
myMap
,
parentsMap
,
calendarType
,
"DateTimePatterns"
);
}
//
if myMap has any empty timezone or metazone names, weed out them
.
//
First, weed out any empty timezone or metazone names from myMap
.
// Fill in any missing abbreviations if locale is "en".
for
(
Iterator
<
String
>
it
=
myMap
.
keySet
().
iterator
();
it
.
hasNext
();)
{
String
key
=
it
.
next
();
...
...
@@ -426,7 +426,7 @@ class Bundle {
/*
* Adjusts String[] for era names because JRE's Calendars use different
* ERA value indexes in the Buddhist
and Japanese Imperial
calendars.
* ERA value indexes in the Buddhist
, Japanese Imperial, and Islamic
calendars.
*/
private
void
adjustEraNames
(
Map
<
String
,
Object
>
map
,
CalendarType
type
)
{
String
[][]
eraNames
=
new
String
[
ERA_KEYS
.
length
][];
...
...
@@ -458,6 +458,11 @@ class Bundle {
// Replace the value
value
=
new
String
[]
{
"BC"
,
value
[
0
]};
break
;
case
ISLAMIC:
// Replace the value
value
=
new
String
[]
{
""
,
value
[
0
]};
break
;
}
if
(!
key
.
equals
(
realKey
))
{
map
.
put
(
realKey
,
value
);
...
...
@@ -479,6 +484,7 @@ class Bundle {
for
(
String
k
:
patternKeys
)
{
if
(
myMap
.
containsKey
(
calendarPrefix
+
k
))
{
int
len
=
patternKeys
.
length
;
List
<
String
>
rawPatterns
=
new
ArrayList
<>();
List
<
String
>
patterns
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
len
;
i
++)
{
String
key
=
calendarPrefix
+
patternKeys
[
i
];
...
...
@@ -487,6 +493,7 @@ class Bundle {
pattern
=
(
String
)
parentsMap
.
remove
(
key
);
}
if
(
pattern
!=
null
)
{
rawPatterns
.
add
(
i
,
pattern
);
patterns
.
add
(
i
,
translateDateFormatLetters
(
calendarType
,
pattern
));
}
}
...
...
@@ -494,6 +501,9 @@ class Bundle {
return
;
}
String
key
=
calendarPrefix
+
name
;
if
(!
rawPatterns
.
equals
(
patterns
))
{
myMap
.
put
(
"cldr."
+
key
,
rawPatterns
.
toArray
(
new
String
[
len
]));
}
myMap
.
put
(
key
,
patterns
.
toArray
(
new
String
[
len
]));
break
;
}
...
...
make/tools/src/build/tools/cldrconverter/CLDRConverter.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012,
2013,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -58,6 +58,7 @@ public class CLDRConverter {
static
final
String
LOCALE_NAME_PREFIX
=
"locale.displayname."
;
static
final
String
CURRENCY_SYMBOL_PREFIX
=
"currency.symbol."
;
static
final
String
CURRENCY_NAME_PREFIX
=
"currency.displayname."
;
static
final
String
CALENDAR_NAME_PREFIX
=
"calendarname."
;
static
final
String
TIMEZONE_ID_PREFIX
=
"timezone.id."
;
static
final
String
ZONE_NAME_PREFIX
=
"timezone.displayname."
;
static
final
String
METAZONE_ID_PREFIX
=
"metazone.id."
;
...
...
@@ -519,35 +520,70 @@ public class CLDRConverter {
return
calendarData
;
}
static
final
String
[]
FORMAT_DATA_ELEMENTS
=
{
"MonthNames"
,
"standalone.MonthNames"
,
"MonthAbbreviations"
,
"standalone.MonthAbbreviations"
,
"MonthNarrow"
,
"standalone.MonthNarrows"
,
"DayNames"
,
"standalone.DayNames"
,
"DayAbbreviations"
,
"standalone.DayAbbreviations"
,
"DayNarrows"
,
"standalone.DayNarrows"
,
"AmPmMarkers"
,
"narrow.AmPmMarkers"
,
"long.Eras"
,
"Eras"
,
"narrow.Eras"
,
"field.era"
,
"field.year"
,
"field.month"
,
"field.week"
,
"field.weekday"
,
"field.dayperiod"
,
"field.hour"
,
"field.minute"
,
"field.second"
,
"field.zone"
,
"TimePatterns"
,
"DatePatterns"
,
"DateTimePatterns"
,
"DateTimePatternChars"
};
private
static
Map
<
String
,
Object
>
extractFormatData
(
Map
<
String
,
Object
>
map
,
String
id
)
{
Map
<
String
,
Object
>
formatData
=
new
LinkedHashMap
<>();
for
(
CalendarType
calendarType
:
CalendarType
.
values
())
{
String
prefix
=
calendarType
.
keyElementName
();
copyIfPresent
(
map
,
prefix
+
"MonthNames"
,
formatData
);
// default FORMAT since JDK8
copyIfPresent
(
map
,
prefix
+
"standalone.MonthNames"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"MonthAbbreviations"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"standalone.MonthAbbreviations"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"MonthNarrow"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"standalone.MonthNarrows"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"DayNames"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"standalone.DayNames"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"DayAbbreviations"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"standalone.DayAbbreviations"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"DayNarrows"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"standalone.DayNarrows"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"AmPmMarkers"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"narrow.AmPmMarkers"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"long.Eras"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"Eras"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"narrow.Eras"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"TimePatterns"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"DatePatterns"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"DateTimePatterns"
,
formatData
);
copyIfPresent
(
map
,
prefix
+
"DateTimePatternChars"
,
formatData
);
for
(
String
element
:
FORMAT_DATA_ELEMENTS
)
{
String
key
=
prefix
+
element
;
copyIfPresent
(
map
,
"cldr."
+
key
,
formatData
);
copyIfPresent
(
map
,
key
,
formatData
);
}
}
// Copy available calendar names
for
(
String
key
:
map
.
keySet
())
{
if
(
key
.
startsWith
(
CLDRConverter
.
CALENDAR_NAME_PREFIX
))
{
String
type
=
key
.
substring
(
CLDRConverter
.
CALENDAR_NAME_PREFIX
.
length
());
for
(
CalendarType
calendarType
:
CalendarType
.
values
())
{
if
(
type
.
equals
(
calendarType
.
lname
()))
{
Object
value
=
map
.
get
(
key
);
formatData
.
put
(
key
,
value
);
String
ukey
=
CLDRConverter
.
CALENDAR_NAME_PREFIX
+
calendarType
.
uname
();
if
(!
key
.
equals
(
ukey
))
{
formatData
.
put
(
ukey
,
value
);
}
}
}
}
}
copyIfPresent
(
map
,
"DefaultNumberingSystem"
,
formatData
);
String
defaultScript
=
(
String
)
map
.
get
(
"DefaultNumberingSystem"
);
@SuppressWarnings
(
"unchecked"
)
List
<
String
>
numberingScripts
=
(
List
<
String
>)
map
.
remove
(
"numberingScripts"
);
if
(
numberingScripts
!=
null
)
{
...
...
make/tools/src/build/tools/cldrconverter/CalendarType.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012,
2013,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -31,26 +31,42 @@ import java.util.Locale;
* Constants for the Calendars supported by JRE.
*/
enum
CalendarType
{
GREGORIAN
,
BUDDHIST
,
JAPANESE
;
GREGORIAN
(
"gregory"
),
BUDDHIST
,
JAPANESE
,
ROC
,
ISLAMIC
,
ISLAMIC_CIVIL
(
"islamicc"
);
private
static
final
int
[][]
ERA_DATA
=
{
// start index, array length
{
0
,
2
},
// gregorian
{
0
,
1
},
// buddhist
{
232
,
4
},
// japanese (eras from Meiji)
{
0
,
2
},
// roc (Minguo)
{
0
,
1
},
// islamic (Hijrah)
{
0
,
1
},
// islamicc (same as islamic)
};
private
final
String
lname
;
// lowercase name
private
final
String
uname
;
// unicode key name (e.g., "gregory" for GREGORIAN)
private
CalendarType
()
{
lname
=
name
().
toLowerCase
(
Locale
.
ROOT
);
this
(
null
);
}
private
CalendarType
(
String
uname
)
{
String
lname
=
name
().
toLowerCase
(
Locale
.
ROOT
);
if
(
lname
.
equals
(
"islamic_civil"
))
{
lname
=
"islamic-civil"
;
}
this
.
lname
=
lname
;
this
.
uname
=
(
uname
!=
null
)
?
uname
:
lname
;
}
String
lname
()
{
return
lname
;
}
String
uname
()
{
return
uname
;
}
String
keyElementName
()
{
return
(
this
==
GREGORIAN
)
?
""
:
lname
+
"."
;
}
...
...
make/tools/src/build/tools/cldrconverter/LDMLParseHandler.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012,
2013,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -71,6 +71,13 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
// ignore this element - it has language and territory elements that aren't locale data
pushIgnoredContainer
(
qName
);
break
;
case
"type"
:
if
(
"calendar"
.
equals
(
attributes
.
getValue
(
"key"
)))
{
pushStringEntry
(
qName
,
attributes
,
CLDRConverter
.
CALENDAR_NAME_PREFIX
+
attributes
.
getValue
(
"type"
));
}
else
{
pushIgnoredContainer
(
qName
);
}
break
;
case
"language"
:
// for LocaleNames
// copy string
...
...
@@ -98,19 +105,30 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
case
"symbol"
:
// for CurrencyNames
// need to get the key from the containing <currency> element
pushStringEntry
(
qName
,
attributes
,
CLDRConverter
.
CURRENCY_SYMBOL_PREFIX
+
getContainerKey
());
pushStringEntry
(
qName
,
attributes
,
CLDRConverter
.
CURRENCY_SYMBOL_PREFIX
+
getContainerKey
());
break
;
// Calendar or currency
case
"displayName"
:
// for CurrencyNames
// need to get the key from the containing <currency> element
// ignore if is has "count" attribute
String
containerKey
=
getContainerKey
();
if
(
containerKey
!=
null
&&
attributes
.
getValue
(
"count"
)
==
null
)
{
pushStringEntry
(
qName
,
attributes
,
CLDRConverter
.
CURRENCY_NAME_PREFIX
+
containerKey
.
toLowerCase
(
Locale
.
ROOT
),
attributes
.
getValue
(
"type"
));
}
else
{
pushIgnoredContainer
(
qName
);
{
if
(
currentCalendarType
!=
null
)
{
pushStringEntry
(
qName
,
attributes
,
currentCalendarType
.
keyElementName
()
+
"field."
+
getContainerKey
());
}
else
{
// for CurrencyNames
// need to get the key from the containing <currency> element
// ignore if is has "count" attribute
String
containerKey
=
getContainerKey
();
if
(
containerKey
!=
null
&&
attributes
.
getValue
(
"count"
)
==
null
)
{
pushStringEntry
(
qName
,
attributes
,
CLDRConverter
.
CURRENCY_NAME_PREFIX
+
containerKey
.
toLowerCase
(
Locale
.
ROOT
),
attributes
.
getValue
(
"type"
));
}
else
{
pushIgnoredContainer
(
qName
);
}
}
}
break
;
...
...
@@ -130,6 +148,35 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
}
}
break
;
case
"fields"
:
if
(
currentCalendarType
!=
null
)
{
pushContainer
(
qName
,
attributes
);
}
else
{
pushIgnoredContainer
(
qName
);
}
break
;
case
"field"
:
{
String
type
=
attributes
.
getValue
(
"type"
);
switch
(
type
)
{
case
"era"
:
case
"year"
:
case
"month"
:
case
"week"
:
case
"weekday"
:
case
"dayperiod"
:
case
"hour"
:
case
"minute"
:
case
"second"
:
case
"zone"
:
pushKeyContainer
(
qName
,
attributes
,
type
);
break
;
default
:
pushIgnoredContainer
(
qName
);
break
;
}
}
break
;
case
"monthContext"
:
{
// for FormatData
...
...
src/share/classes/java/sql/BatchUpdateException.java
浏览文件 @
cb5188a2
...
...
@@ -409,7 +409,7 @@ public class BatchUpdateException extends SQLException {
* <code>cause</code> and <code>updateCounts</code>.
* <p>
* This constructor should be used when the returned update count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* @param reason a description of the error
* @param SQLState an XOPEN or SQL:2003 code identifying the exception
...
...
@@ -447,7 +447,7 @@ public class BatchUpdateException extends SQLException {
* the <code>BatchUpdateException</code> was thrown.
* <p>
* This method should be used when {@code Statement.executeLargeBatch} is
* invoked and the returned update count may exceed {@link Integer
.
MAX_VALUE}.
* invoked and the returned update count may exceed {@link Integer
#
MAX_VALUE}.
* <p>
* @return an array of <code>long</code> containing the update counts
* for the updates that were executed successfully before this error
...
...
src/share/classes/java/sql/PreparedStatement.java
浏览文件 @
cb5188a2
...
...
@@ -1300,7 +1300,7 @@ public interface PreparedStatement extends Statement {
* such as a DDL statement.
* <p>
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* The default implementation will throw {@code UnsupportedOperationException}
*
...
...
src/share/classes/java/sql/Statement.java
浏览文件 @
cb5188a2
...
...
@@ -1077,7 +1077,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* is returned. This method should be called only once per result.
* <p>
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
*<p>
* The default implementation will throw {@code UnsupportedOperationException}
*
...
...
@@ -1100,7 +1100,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* rows are silently dropped.
* <p>
* This method should be used when the row limit may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
*<p>
* The default implementation will throw {@code UnsupportedOperationException}
*
...
...
@@ -1122,7 +1122,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* the excess rows are silently dropped.
* <p>
* This method should be used when the returned row limit may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
*<p>
* The default implementation will return {@code 0}
*
...
...
@@ -1172,7 +1172,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* </OL>
* <p>
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
*<p>
* The default implementation will throw {@code UnsupportedOperationException}
*
...
...
@@ -1203,7 +1203,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* SQL statement that returns nothing, such as an SQL DDL statement.
* <p>
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <strong>Note:</strong>This method cannot be called on a
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
...
...
@@ -1242,7 +1242,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
* <p>
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <strong>Note:</strong>This method cannot be called on a
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
...
...
@@ -1290,7 +1290,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
* <p>
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <strong>Note:</strong>This method cannot be called on a
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
...
...
@@ -1334,7 +1334,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
* <p>
* This method should be used when the returned row count may exceed
* {@link Integer
.
MAX_VALUE}.
* {@link Integer
#
MAX_VALUE}.
* <p>
* <strong>Note:</strong>This method cannot be called on a
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
...
...
@@ -1368,4 +1368,3 @@ public interface Statement extends Wrapper, AutoCloseable {
throw
new
SQLFeatureNotSupportedException
(
"executeLargeUpdate not implemented"
);
}
}
src/share/classes/java/util/concurrent/atomic/DoubleAccumulator.java
0 → 100644
浏览文件 @
cb5188a2
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This file is available under and governed by the GNU General Public
* License version 2 only, as published by the Free Software Foundation.
* However, the following notice accompanied the original version of this
* file:
*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package
java.util.concurrent.atomic
;
import
java.io.Serializable
;
import
java.util.function.DoubleBinaryOperator
;
/**
* One or more variables that together maintain a running {@code double}
* value updated using a supplied function. When updates (method
* {@link #accumulate}) are contended across threads, the set of variables
* may grow dynamically to reduce contention. Method {@link #get}
* (or, equivalently, {@link #doubleValue}) returns the current value
* across the variables maintaining updates.
*
* <p>This class is usually preferable to alternatives when multiple
* threads update a common value that is used for purposes such as
* summary statistics that are frequently updated but less frequently
* read.
*
* <p>The supplied accumulator function should be side-effect-free,
* since it may be re-applied when attempted updates fail due to
* contention among threads. The function is applied with the current
* value as its first argument, and the given update as the second
* argument. For example, to maintain a running maximum value, you
* could supply {@code Double::max} along with {@code
* Double.NEGATIVE_INFINITY} as the identity. The order of
* accumulation within or across threads is not guaranteed. Thus, this
* class may not be applicable if numerical stability is required,
* especially when combining values of substantially different orders
* of magnitude.
*
* <p>Class {@link DoubleAdder} provides analogs of the functionality
* of this class for the common special case of maintaining sums. The
* call {@code new DoubleAdder()} is equivalent to {@code new
* DoubleAccumulator((x, y) -> x + y, 0.0}.
*
* <p>This class extends {@link Number}, but does <em>not</em> define
* methods such as {@code equals}, {@code hashCode} and {@code
* compareTo} because instances are expected to be mutated, and so are
* not useful as collection keys.
*
* @since 1.8
* @author Doug Lea
*/
public
class
DoubleAccumulator
extends
Striped64
implements
Serializable
{
private
static
final
long
serialVersionUID
=
7249069246863182397L
;
private
final
DoubleBinaryOperator
function
;
private
final
long
identity
;
// use long representation
/**
* Creates a new instance using the given accumulator function
* and identity element.
*/
public
DoubleAccumulator
(
DoubleBinaryOperator
accumulatorFunction
,
double
identity
)
{
this
.
function
=
accumulatorFunction
;
base
=
this
.
identity
=
Double
.
doubleToRawLongBits
(
identity
);
}
/**
* Updates with the given value.
*
* @param x the value
*/
public
void
accumulate
(
double
x
)
{
Cell
[]
as
;
long
b
,
v
,
r
;
int
m
;
Cell
a
;
if
((
as
=
cells
)
!=
null
||
(
r
=
Double
.
doubleToRawLongBits
(
function
.
operateAsDouble
(
Double
.
longBitsToDouble
(
b
=
base
),
x
)))
!=
b
&&
!
casBase
(
b
,
r
))
{
boolean
uncontended
=
true
;
if
(
as
==
null
||
(
m
=
as
.
length
-
1
)
<
0
||
(
a
=
as
[
getProbe
()
&
m
])
==
null
||
!(
uncontended
=
(
r
=
Double
.
doubleToRawLongBits
(
function
.
operateAsDouble
(
Double
.
longBitsToDouble
(
v
=
a
.
value
),
x
)))
==
v
||
a
.
cas
(
v
,
r
)))
doubleAccumulate
(
x
,
function
,
uncontended
);
}
}
/**
* Returns the current value. The returned value is <em>NOT</em>
* an atomic snapshot; invocation in the absence of concurrent
* updates returns an accurate result, but concurrent updates that
* occur while the value is being calculated might not be
* incorporated.
*
* @return the current value
*/
public
double
get
()
{
Cell
[]
as
=
cells
;
Cell
a
;
double
result
=
Double
.
longBitsToDouble
(
base
);
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
result
=
function
.
operateAsDouble
(
result
,
Double
.
longBitsToDouble
(
a
.
value
));
}
}
return
result
;
}
/**
* Resets variables maintaining updates to the identity value.
* This method may be a useful alternative to creating a new
* updater, but is only effective if there are no concurrent
* updates. Because this method is intrinsically racy, it should
* only be used when it is known that no threads are concurrently
* updating.
*/
public
void
reset
()
{
Cell
[]
as
=
cells
;
Cell
a
;
base
=
identity
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
a
.
value
=
identity
;
}
}
}
/**
* Equivalent in effect to {@link #get} followed by {@link
* #reset}. This method may apply for example during quiescent
* points between multithreaded computations. If there are
* updates concurrent with this method, the returned value is
* <em>not</em> guaranteed to be the final value occurring before
* the reset.
*
* @return the value before reset
*/
public
double
getThenReset
()
{
Cell
[]
as
=
cells
;
Cell
a
;
double
result
=
Double
.
longBitsToDouble
(
base
);
base
=
identity
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
{
double
v
=
Double
.
longBitsToDouble
(
a
.
value
);
a
.
value
=
identity
;
result
=
function
.
operateAsDouble
(
result
,
v
);
}
}
}
return
result
;
}
/**
* Returns the String representation of the current value.
* @return the String representation of the current value
*/
public
String
toString
()
{
return
Double
.
toString
(
get
());
}
/**
* Equivalent to {@link #get}.
*
* @return the current value
*/
public
double
doubleValue
()
{
return
get
();
}
/**
* Returns the {@linkplain #get current value} as a {@code long}
* after a narrowing primitive conversion.
*/
public
long
longValue
()
{
return
(
long
)
get
();
}
/**
* Returns the {@linkplain #get current value} as an {@code int}
* after a narrowing primitive conversion.
*/
public
int
intValue
()
{
return
(
int
)
get
();
}
/**
* Returns the {@linkplain #get current value} as a {@code float}
* after a narrowing primitive conversion.
*/
public
float
floatValue
()
{
return
(
float
)
get
();
}
private
void
writeObject
(
java
.
io
.
ObjectOutputStream
s
)
throws
java
.
io
.
IOException
{
s
.
defaultWriteObject
();
s
.
writeDouble
(
get
());
}
private
void
readObject
(
java
.
io
.
ObjectInputStream
s
)
throws
java
.
io
.
IOException
,
ClassNotFoundException
{
s
.
defaultReadObject
();
cellsBusy
=
0
;
cells
=
null
;
base
=
Double
.
doubleToRawLongBits
(
s
.
readDouble
());
}
}
src/share/classes/java/util/concurrent/atomic/DoubleAdder.java
0 → 100644
浏览文件 @
cb5188a2
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This file is available under and governed by the GNU General Public
* License version 2 only, as published by the Free Software Foundation.
* However, the following notice accompanied the original version of this
* file:
*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package
java.util.concurrent.atomic
;
import
java.io.Serializable
;
/**
* One or more variables that together maintain an initially zero
* {@code double} sum. When updates (method {@link #add}) are
* contended across threads, the set of variables may grow dynamically
* to reduce contention. Method {@link #sum} (or, equivalently {@link
* #doubleValue}) returns the current total combined across the
* variables maintaining the sum. The order of accumulation within or
* across threads is not guaranteed. Thus, this class may not be
* applicable if numerical stability is required, especially when
* combining values of substantially different orders of magnitude.
*
* <p>This class is usually preferable to alternatives when multiple
* threads update a common value that is used for purposes such as
* summary statistics that are frequently updated but less frequently
* read.
*
* <p>This class extends {@link Number}, but does <em>not</em> define
* methods such as {@code equals}, {@code hashCode} and {@code
* compareTo} because instances are expected to be mutated, and so are
* not useful as collection keys.
*
* @since 1.8
* @author Doug Lea
*/
public
class
DoubleAdder
extends
Striped64
implements
Serializable
{
private
static
final
long
serialVersionUID
=
7249069246863182397L
;
/**
* Note that we must use "long" for underlying representations,
* because there is no compareAndSet for double, due to the fact
* that the bitwise equals used in any CAS implementation is not
* the same as double-precision equals. However, we use CAS only
* to detect and alleviate contention, for which bitwise equals
* works best anyway. In principle, the long/double conversions
* used here should be essentially free on most platforms since
* they just re-interpret bits.
*/
/**
* Creates a new adder with initial sum of zero.
*/
public
DoubleAdder
()
{
}
/**
* Adds the given value.
*
* @param x the value to add
*/
public
void
add
(
double
x
)
{
Cell
[]
as
;
long
b
,
v
;
int
m
;
Cell
a
;
if
((
as
=
cells
)
!=
null
||
!
casBase
(
b
=
base
,
Double
.
doubleToRawLongBits
(
Double
.
longBitsToDouble
(
b
)
+
x
)))
{
boolean
uncontended
=
true
;
if
(
as
==
null
||
(
m
=
as
.
length
-
1
)
<
0
||
(
a
=
as
[
getProbe
()
&
m
])
==
null
||
!(
uncontended
=
a
.
cas
(
v
=
a
.
value
,
Double
.
doubleToRawLongBits
(
Double
.
longBitsToDouble
(
v
)
+
x
))))
doubleAccumulate
(
x
,
null
,
uncontended
);
}
}
/**
* Returns the current sum. The returned value is <em>NOT</em> an
* atomic snapshot; invocation in the absence of concurrent
* updates returns an accurate result, but concurrent updates that
* occur while the sum is being calculated might not be
* incorporated. Also, because floating-point arithmetic is not
* strictly associative, the returned result need not be identical
* to the value that would be obtained in a sequential series of
* updates to a single variable.
*
* @return the sum
*/
public
double
sum
()
{
Cell
[]
as
=
cells
;
Cell
a
;
double
sum
=
Double
.
longBitsToDouble
(
base
);
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
sum
+=
Double
.
longBitsToDouble
(
a
.
value
);
}
}
return
sum
;
}
/**
* Resets variables maintaining the sum to zero. This method may
* be a useful alternative to creating a new adder, but is only
* effective if there are no concurrent updates. Because this
* method is intrinsically racy, it should only be used when it is
* known that no threads are concurrently updating.
*/
public
void
reset
()
{
Cell
[]
as
=
cells
;
Cell
a
;
base
=
0L
;
// relies on fact that double 0 must have same rep as long
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
a
.
value
=
0L
;
}
}
}
/**
* Equivalent in effect to {@link #sum} followed by {@link
* #reset}. This method may apply for example during quiescent
* points between multithreaded computations. If there are
* updates concurrent with this method, the returned value is
* <em>not</em> guaranteed to be the final value occurring before
* the reset.
*
* @return the sum
*/
public
double
sumThenReset
()
{
Cell
[]
as
=
cells
;
Cell
a
;
double
sum
=
Double
.
longBitsToDouble
(
base
);
base
=
0L
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
{
long
v
=
a
.
value
;
a
.
value
=
0L
;
sum
+=
Double
.
longBitsToDouble
(
v
);
}
}
}
return
sum
;
}
/**
* Returns the String representation of the {@link #sum}.
* @return the String representation of the {@link #sum}
*/
public
String
toString
()
{
return
Double
.
toString
(
sum
());
}
/**
* Equivalent to {@link #sum}.
*
* @return the sum
*/
public
double
doubleValue
()
{
return
sum
();
}
/**
* Returns the {@link #sum} as a {@code long} after a
* narrowing primitive conversion.
*/
public
long
longValue
()
{
return
(
long
)
sum
();
}
/**
* Returns the {@link #sum} as an {@code int} after a
* narrowing primitive conversion.
*/
public
int
intValue
()
{
return
(
int
)
sum
();
}
/**
* Returns the {@link #sum} as a {@code float}
* after a narrowing primitive conversion.
*/
public
float
floatValue
()
{
return
(
float
)
sum
();
}
private
void
writeObject
(
java
.
io
.
ObjectOutputStream
s
)
throws
java
.
io
.
IOException
{
s
.
defaultWriteObject
();
s
.
writeDouble
(
sum
());
}
private
void
readObject
(
java
.
io
.
ObjectInputStream
s
)
throws
java
.
io
.
IOException
,
ClassNotFoundException
{
s
.
defaultReadObject
();
cellsBusy
=
0
;
cells
=
null
;
base
=
Double
.
doubleToRawLongBits
(
s
.
readDouble
());
}
}
src/share/classes/java/util/concurrent/atomic/LongAccumulator.java
0 → 100644
浏览文件 @
cb5188a2
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This file is available under and governed by the GNU General Public
* License version 2 only, as published by the Free Software Foundation.
* However, the following notice accompanied the original version of this
* file:
*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package
java.util.concurrent.atomic
;
import
java.io.Serializable
;
import
java.util.function.LongBinaryOperator
;
/**
* One or more variables that together maintain a running {@code long}
* value updated using a supplied function. When updates (method
* {@link #accumulate}) are contended across threads, the set of variables
* may grow dynamically to reduce contention. Method {@link #get}
* (or, equivalently, {@link #longValue}) returns the current value
* across the variables maintaining updates.
*
* <p>This class is usually preferable to {@link AtomicLong} when
* multiple threads update a common value that is used for purposes such
* as collecting statistics, not for fine-grained synchronization
* control. Under low update contention, the two classes have similar
* characteristics. But under high contention, expected throughput of
* this class is significantly higher, at the expense of higher space
* consumption.
*
* <p>The order of accumulation within or across threads is not
* guaranteed and cannot be depended upon, so this class is only
* applicable to functions for which the order of accumulation does
* not matter. The supplied accumulator function should be
* side-effect-free, since it may be re-applied when attempted updates
* fail due to contention among threads. The function is applied with
* the current value as its first argument, and the given update as
* the second argument. For example, to maintain a running maximum
* value, you could supply {@code Long::max} along with {@code
* Long.MIN_VALUE} as the identity.
*
* <p>Class {@link LongAdder} provides analogs of the functionality of
* this class for the common special case of maintaining counts and
* sums. The call {@code new LongAdder()} is equivalent to {@code new
* LongAccumulator((x, y) -> x + y, 0L}.
*
* <p>This class extends {@link Number}, but does <em>not</em> define
* methods such as {@code equals}, {@code hashCode} and {@code
* compareTo} because instances are expected to be mutated, and so are
* not useful as collection keys.
*
* @since 1.8
* @author Doug Lea
*/
public
class
LongAccumulator
extends
Striped64
implements
Serializable
{
private
static
final
long
serialVersionUID
=
7249069246863182397L
;
private
final
LongBinaryOperator
function
;
private
final
long
identity
;
/**
* Creates a new instance using the given accumulator function
* and identity element.
*/
public
LongAccumulator
(
LongBinaryOperator
accumulatorFunction
,
long
identity
)
{
this
.
function
=
accumulatorFunction
;
base
=
this
.
identity
=
identity
;
}
/**
* Updates with the given value.
*
* @param x the value
*/
public
void
accumulate
(
long
x
)
{
Cell
[]
as
;
long
b
,
v
,
r
;
int
m
;
Cell
a
;
if
((
as
=
cells
)
!=
null
||
(
r
=
function
.
operateAsLong
(
b
=
base
,
x
))
!=
b
&&
!
casBase
(
b
,
r
))
{
boolean
uncontended
=
true
;
if
(
as
==
null
||
(
m
=
as
.
length
-
1
)
<
0
||
(
a
=
as
[
getProbe
()
&
m
])
==
null
||
!(
uncontended
=
(
r
=
function
.
operateAsLong
(
v
=
a
.
value
,
x
))
==
v
||
a
.
cas
(
v
,
r
)))
longAccumulate
(
x
,
function
,
uncontended
);
}
}
/**
* Returns the current value. The returned value is <em>NOT</em>
* an atomic snapshot; invocation in the absence of concurrent
* updates returns an accurate result, but concurrent updates that
* occur while the value is being calculated might not be
* incorporated.
*
* @return the current value
*/
public
long
get
()
{
Cell
[]
as
=
cells
;
Cell
a
;
long
result
=
base
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
result
=
function
.
operateAsLong
(
result
,
a
.
value
);
}
}
return
result
;
}
/**
* Resets variables maintaining updates to the identity value.
* This method may be a useful alternative to creating a new
* updater, but is only effective if there are no concurrent
* updates. Because this method is intrinsically racy, it should
* only be used when it is known that no threads are concurrently
* updating.
*/
public
void
reset
()
{
Cell
[]
as
=
cells
;
Cell
a
;
base
=
identity
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
a
.
value
=
identity
;
}
}
}
/**
* Equivalent in effect to {@link #get} followed by {@link
* #reset}. This method may apply for example during quiescent
* points between multithreaded computations. If there are
* updates concurrent with this method, the returned value is
* <em>not</em> guaranteed to be the final value occurring before
* the reset.
*
* @return the value before reset
*/
public
long
getThenReset
()
{
Cell
[]
as
=
cells
;
Cell
a
;
long
result
=
base
;
base
=
identity
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
{
long
v
=
a
.
value
;
a
.
value
=
identity
;
result
=
function
.
operateAsLong
(
result
,
v
);
}
}
}
return
result
;
}
/**
* Returns the String representation of the current value.
* @return the String representation of the current value
*/
public
String
toString
()
{
return
Long
.
toString
(
get
());
}
/**
* Equivalent to {@link #get}.
*
* @return the current value
*/
public
long
longValue
()
{
return
get
();
}
/**
* Returns the {@linkplain #get current value} as an {@code int}
* after a narrowing primitive conversion.
*/
public
int
intValue
()
{
return
(
int
)
get
();
}
/**
* Returns the {@linkplain #get current value} as a {@code float}
* after a widening primitive conversion.
*/
public
float
floatValue
()
{
return
(
float
)
get
();
}
/**
* Returns the {@linkplain #get current value} as a {@code double}
* after a widening primitive conversion.
*/
public
double
doubleValue
()
{
return
(
double
)
get
();
}
private
void
writeObject
(
java
.
io
.
ObjectOutputStream
s
)
throws
java
.
io
.
IOException
{
s
.
defaultWriteObject
();
s
.
writeLong
(
get
());
}
private
void
readObject
(
java
.
io
.
ObjectInputStream
s
)
throws
java
.
io
.
IOException
,
ClassNotFoundException
{
s
.
defaultReadObject
();
cellsBusy
=
0
;
cells
=
null
;
base
=
s
.
readLong
();
}
}
src/share/classes/java/util/concurrent/atomic/LongAdder.java
0 → 100644
浏览文件 @
cb5188a2
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This file is available under and governed by the GNU General Public
* License version 2 only, as published by the Free Software Foundation.
* However, the following notice accompanied the original version of this
* file:
*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package
java.util.concurrent.atomic
;
import
java.io.Serializable
;
/**
* One or more variables that together maintain an initially zero
* {@code long} sum. When updates (method {@link #add}) are contended
* across threads, the set of variables may grow dynamically to reduce
* contention. Method {@link #sum} (or, equivalently, {@link
* #longValue}) returns the current total combined across the
* variables maintaining the sum.
*
* <p>This class is usually preferable to {@link AtomicLong} when
* multiple threads update a common sum that is used for purposes such
* as collecting statistics, not for fine-grained synchronization
* control. Under low update contention, the two classes have similar
* characteristics. But under high contention, expected throughput of
* this class is significantly higher, at the expense of higher space
* consumption.
*
* <p>LongAdders can be used with a {@link
* java.util.concurrent.ConcurrentHashMap} to maintain a scalable
* frequency map (a form of histogram or multiset). For example, to
* add a count to a {@code ConcurrentHashMap<String,LongAdder> freqs},
* initializing if not already present, you can use {@code
* freqs.computeIfAbsent(k -> new LongAdder()).increment();}
*
* <p>This class extends {@link Number}, but does <em>not</em> define
* methods such as {@code equals}, {@code hashCode} and {@code
* compareTo} because instances are expected to be mutated, and so are
* not useful as collection keys.
*
* @since 1.8
* @author Doug Lea
*/
public
class
LongAdder
extends
Striped64
implements
Serializable
{
private
static
final
long
serialVersionUID
=
7249069246863182397L
;
/**
* Creates a new adder with initial sum of zero.
*/
public
LongAdder
()
{
}
/**
* Adds the given value.
*
* @param x the value to add
*/
public
void
add
(
long
x
)
{
Cell
[]
as
;
long
b
,
v
;
int
m
;
Cell
a
;
if
((
as
=
cells
)
!=
null
||
!
casBase
(
b
=
base
,
b
+
x
))
{
boolean
uncontended
=
true
;
if
(
as
==
null
||
(
m
=
as
.
length
-
1
)
<
0
||
(
a
=
as
[
getProbe
()
&
m
])
==
null
||
!(
uncontended
=
a
.
cas
(
v
=
a
.
value
,
v
+
x
)))
longAccumulate
(
x
,
null
,
uncontended
);
}
}
/**
* Equivalent to {@code add(1)}.
*/
public
void
increment
()
{
add
(
1L
);
}
/**
* Equivalent to {@code add(-1)}.
*/
public
void
decrement
()
{
add
(-
1L
);
}
/**
* Returns the current sum. The returned value is <em>NOT</em> an
* atomic snapshot; invocation in the absence of concurrent
* updates returns an accurate result, but concurrent updates that
* occur while the sum is being calculated might not be
* incorporated.
*
* @return the sum
*/
public
long
sum
()
{
Cell
[]
as
=
cells
;
Cell
a
;
long
sum
=
base
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
sum
+=
a
.
value
;
}
}
return
sum
;
}
/**
* Resets variables maintaining the sum to zero. This method may
* be a useful alternative to creating a new adder, but is only
* effective if there are no concurrent updates. Because this
* method is intrinsically racy, it should only be used when it is
* known that no threads are concurrently updating.
*/
public
void
reset
()
{
Cell
[]
as
=
cells
;
Cell
a
;
base
=
0L
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
a
.
value
=
0L
;
}
}
}
/**
* Equivalent in effect to {@link #sum} followed by {@link
* #reset}. This method may apply for example during quiescent
* points between multithreaded computations. If there are
* updates concurrent with this method, the returned value is
* <em>not</em> guaranteed to be the final value occurring before
* the reset.
*
* @return the sum
*/
public
long
sumThenReset
()
{
Cell
[]
as
=
cells
;
Cell
a
;
long
sum
=
base
;
base
=
0L
;
if
(
as
!=
null
)
{
for
(
int
i
=
0
;
i
<
as
.
length
;
++
i
)
{
if
((
a
=
as
[
i
])
!=
null
)
{
sum
+=
a
.
value
;
a
.
value
=
0L
;
}
}
}
return
sum
;
}
/**
* Returns the String representation of the {@link #sum}.
* @return the String representation of the {@link #sum}
*/
public
String
toString
()
{
return
Long
.
toString
(
sum
());
}
/**
* Equivalent to {@link #sum}.
*
* @return the sum
*/
public
long
longValue
()
{
return
sum
();
}
/**
* Returns the {@link #sum} as an {@code int} after a narrowing
* primitive conversion.
*/
public
int
intValue
()
{
return
(
int
)
sum
();
}
/**
* Returns the {@link #sum} as a {@code float}
* after a widening primitive conversion.
*/
public
float
floatValue
()
{
return
(
float
)
sum
();
}
/**
* Returns the {@link #sum} as a {@code double} after a widening
* primitive conversion.
*/
public
double
doubleValue
()
{
return
(
double
)
sum
();
}
private
void
writeObject
(
java
.
io
.
ObjectOutputStream
s
)
throws
java
.
io
.
IOException
{
s
.
defaultWriteObject
();
s
.
writeLong
(
sum
());
}
private
void
readObject
(
java
.
io
.
ObjectInputStream
s
)
throws
java
.
io
.
IOException
,
ClassNotFoundException
{
s
.
defaultReadObject
();
cellsBusy
=
0
;
cells
=
null
;
base
=
s
.
readLong
();
}
}
src/share/classes/java/util/concurrent/atomic/Striped64.java
0 → 100644
浏览文件 @
cb5188a2
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This file is available under and governed by the GNU General Public
* License version 2 only, as published by the Free Software Foundation.
* However, the following notice accompanied the original version of this
* file:
*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package
java.util.concurrent.atomic
;
import
java.util.function.LongBinaryOperator
;
import
java.util.function.DoubleBinaryOperator
;
import
java.util.concurrent.ThreadLocalRandom
;
/**
* A package-local class holding common representation and mechanics
* for classes supporting dynamic striping on 64bit values. The class
* extends Number so that concrete subclasses must publicly do so.
*/
abstract
class
Striped64
extends
Number
{
/*
* This class maintains a lazily-initialized table of atomically
* updated variables, plus an extra "base" field. The table size
* is a power of two. Indexing uses masked per-thread hash codes.
* Nearly all declarations in this class are package-private,
* accessed directly by subclasses.
*
* Table entries are of class Cell; a variant of AtomicLong padded
* to reduce cache contention on most processors. Padding is
* overkill for most Atomics because they are usually irregularly
* scattered in memory and thus don't interfere much with each
* other. But Atomic objects residing in arrays will tend to be
* placed adjacent to each other, and so will most often share
* cache lines (with a huge negative performance impact) without
* this precaution.
*
* In part because Cells are relatively large, we avoid creating
* them until they are needed. When there is no contention, all
* updates are made to the base field. Upon first contention (a
* failed CAS on base update), the table is initialized to size 2.
* The table size is doubled upon further contention until
* reaching the nearest power of two greater than or equal to the
* number of CPUS. Table slots remain empty (null) until they are
* needed.
*
* A single spinlock ("cellsBusy") is used for initializing and
* resizing the table, as well as populating slots with new Cells.
* There is no need for a blocking lock; when the lock is not
* available, threads try other slots (or the base). During these
* retries, there is increased contention and reduced locality,
* which is still better than alternatives.
*
* The Thread probe fields maintained via ThreadLocalRandom serve
* as per-thread hash codes. We let them remain uninitialized as
* zero (if they come in this way) until they contend at slot
* 0. They are then initialized to values that typically do not
* often conflict with others. Contention and/or table collisions
* are indicated by failed CASes when performing an update
* operation. Upon a collision, if the table size is less than
* the capacity, it is doubled in size unless some other thread
* holds the lock. If a hashed slot is empty, and lock is
* available, a new Cell is created. Otherwise, if the slot
* exists, a CAS is tried. Retries proceed by "double hashing",
* using a secondary hash (Marsaglia XorShift) to try to find a
* free slot.
*
* The table size is capped because, when there are more threads
* than CPUs, supposing that each thread were bound to a CPU,
* there would exist a perfect hash function mapping threads to
* slots that eliminates collisions. When we reach capacity, we
* search for this mapping by randomly varying the hash codes of
* colliding threads. Because search is random, and collisions
* only become known via CAS failures, convergence can be slow,
* and because threads are typically not bound to CPUS forever,
* may not occur at all. However, despite these limitations,
* observed contention rates are typically low in these cases.
*
* It is possible for a Cell to become unused when threads that
* once hashed to it terminate, as well as in the case where
* doubling the table causes no thread to hash to it under
* expanded mask. We do not try to detect or remove such cells,
* under the assumption that for long-running instances, observed
* contention levels will recur, so the cells will eventually be
* needed again; and for short-lived ones, it does not matter.
*/
/**
* Padded variant of AtomicLong supporting only raw accesses plus CAS.
* The value field is placed between pads, hoping that the JVM doesn't
* reorder them.
*
* JVM intrinsics note: It would be possible to use a release-only
* form of CAS here, if it were provided.
*/
static
final
class
Cell
{
volatile
long
p0
,
p1
,
p2
,
p3
,
p4
,
p5
,
p6
;
volatile
long
value
;
volatile
long
q0
,
q1
,
q2
,
q3
,
q4
,
q5
,
q6
;
Cell
(
long
x
)
{
value
=
x
;
}
final
boolean
cas
(
long
cmp
,
long
val
)
{
return
UNSAFE
.
compareAndSwapLong
(
this
,
valueOffset
,
cmp
,
val
);
}
// Unsafe mechanics
private
static
final
sun
.
misc
.
Unsafe
UNSAFE
;
private
static
final
long
valueOffset
;
static
{
try
{
UNSAFE
=
sun
.
misc
.
Unsafe
.
getUnsafe
();
Class
<?>
ak
=
Cell
.
class
;
valueOffset
=
UNSAFE
.
objectFieldOffset
(
ak
.
getDeclaredField
(
"value"
));
}
catch
(
Exception
e
)
{
throw
new
Error
(
e
);
}
}
}
/** Number of CPUS, to place bound on table size */
static
final
int
NCPU
=
Runtime
.
getRuntime
().
availableProcessors
();
/**
* Table of cells. When non-null, size is a power of 2.
*/
transient
volatile
Cell
[]
cells
;
/**
* Base value, used mainly when there is no contention, but also as
* a fallback during table initialization races. Updated via CAS.
*/
transient
volatile
long
base
;
/**
* Spinlock (locked via CAS) used when resizing and/or creating Cells.
*/
transient
volatile
int
cellsBusy
;
/**
* Package-private default constructor
*/
Striped64
()
{
}
/**
* CASes the base field.
*/
final
boolean
casBase
(
long
cmp
,
long
val
)
{
return
UNSAFE
.
compareAndSwapLong
(
this
,
BASE
,
cmp
,
val
);
}
/**
* CASes the cellsBusy field from 0 to 1 to acquire lock.
*/
final
boolean
casCellsBusy
()
{
return
UNSAFE
.
compareAndSwapInt
(
this
,
CELLSBUSY
,
0
,
1
);
}
/**
* Returns the probe value for the current thread.
* Duplicated from ThreadLocalRandom because of packaging restrictions.
*/
static
final
int
getProbe
()
{
return
UNSAFE
.
getInt
(
Thread
.
currentThread
(),
PROBE
);
}
/**
* Pseudo-randomly advances and records the given probe value for the
* given thread.
* Duplicated from ThreadLocalRandom because of packaging restrictions.
*/
static
final
int
advanceProbe
(
int
probe
)
{
probe
^=
probe
<<
13
;
// xorshift
probe
^=
probe
>>>
17
;
probe
^=
probe
<<
5
;
UNSAFE
.
putInt
(
Thread
.
currentThread
(),
PROBE
,
probe
);
return
probe
;
}
/**
* Handles cases of updates involving initialization, resizing,
* creating new Cells, and/or contention. See above for
* explanation. This method suffers the usual non-modularity
* problems of optimistic retry code, relying on rechecked sets of
* reads.
*
* @param x the value
* @param fn the update function, or null for add (this convention
* avoids the need for an extra field or function in LongAdder).
* @param wasUncontended false if CAS failed before call
*/
final
void
longAccumulate
(
long
x
,
LongBinaryOperator
fn
,
boolean
wasUncontended
)
{
int
h
;
if
((
h
=
getProbe
())
==
0
)
{
ThreadLocalRandom
.
current
();
// force initialization
h
=
getProbe
();
wasUncontended
=
true
;
}
boolean
collide
=
false
;
// True if last slot nonempty
for
(;;)
{
Cell
[]
as
;
Cell
a
;
int
n
;
long
v
;
if
((
as
=
cells
)
!=
null
&&
(
n
=
as
.
length
)
>
0
)
{
if
((
a
=
as
[(
n
-
1
)
&
h
])
==
null
)
{
if
(
cellsBusy
==
0
)
{
// Try to attach new Cell
Cell
r
=
new
Cell
(
x
);
// Optimistically create
if
(
cellsBusy
==
0
&&
casCellsBusy
())
{
boolean
created
=
false
;
try
{
// Recheck under lock
Cell
[]
rs
;
int
m
,
j
;
if
((
rs
=
cells
)
!=
null
&&
(
m
=
rs
.
length
)
>
0
&&
rs
[
j
=
(
m
-
1
)
&
h
]
==
null
)
{
rs
[
j
]
=
r
;
created
=
true
;
}
}
finally
{
cellsBusy
=
0
;
}
if
(
created
)
break
;
continue
;
// Slot is now non-empty
}
}
collide
=
false
;
}
else
if
(!
wasUncontended
)
// CAS already known to fail
wasUncontended
=
true
;
// Continue after rehash
else
if
(
a
.
cas
(
v
=
a
.
value
,
((
fn
==
null
)
?
v
+
x
:
fn
.
operateAsLong
(
v
,
x
))))
break
;
else
if
(
n
>=
NCPU
||
cells
!=
as
)
collide
=
false
;
// At max size or stale
else
if
(!
collide
)
collide
=
true
;
else
if
(
cellsBusy
==
0
&&
casCellsBusy
())
{
try
{
if
(
cells
==
as
)
{
// Expand table unless stale
Cell
[]
rs
=
new
Cell
[
n
<<
1
];
for
(
int
i
=
0
;
i
<
n
;
++
i
)
rs
[
i
]
=
as
[
i
];
cells
=
rs
;
}
}
finally
{
cellsBusy
=
0
;
}
collide
=
false
;
continue
;
// Retry with expanded table
}
h
=
advanceProbe
(
h
);
}
else
if
(
cellsBusy
==
0
&&
cells
==
as
&&
casCellsBusy
())
{
boolean
init
=
false
;
try
{
// Initialize table
if
(
cells
==
as
)
{
Cell
[]
rs
=
new
Cell
[
2
];
rs
[
h
&
1
]
=
new
Cell
(
x
);
cells
=
rs
;
init
=
true
;
}
}
finally
{
cellsBusy
=
0
;
}
if
(
init
)
break
;
}
else
if
(
casBase
(
v
=
base
,
((
fn
==
null
)
?
v
+
x
:
fn
.
operateAsLong
(
v
,
x
))))
break
;
// Fall back on using base
}
}
/**
* Same as longAccumulate, but injecting long/double conversions
* in too many places to sensibly merge with long version, given
* the low-overhead requirements of this class. So must instead be
* maintained by copy/paste/adapt.
*/
final
void
doubleAccumulate
(
double
x
,
DoubleBinaryOperator
fn
,
boolean
wasUncontended
)
{
int
h
;
if
((
h
=
getProbe
())
==
0
)
{
ThreadLocalRandom
.
current
();
// force initialization
h
=
getProbe
();
wasUncontended
=
true
;
}
boolean
collide
=
false
;
// True if last slot nonempty
for
(;;)
{
Cell
[]
as
;
Cell
a
;
int
n
;
long
v
;
if
((
as
=
cells
)
!=
null
&&
(
n
=
as
.
length
)
>
0
)
{
if
((
a
=
as
[(
n
-
1
)
&
h
])
==
null
)
{
if
(
cellsBusy
==
0
)
{
// Try to attach new Cell
Cell
r
=
new
Cell
(
Double
.
doubleToRawLongBits
(
x
));
if
(
cellsBusy
==
0
&&
casCellsBusy
())
{
boolean
created
=
false
;
try
{
// Recheck under lock
Cell
[]
rs
;
int
m
,
j
;
if
((
rs
=
cells
)
!=
null
&&
(
m
=
rs
.
length
)
>
0
&&
rs
[
j
=
(
m
-
1
)
&
h
]
==
null
)
{
rs
[
j
]
=
r
;
created
=
true
;
}
}
finally
{
cellsBusy
=
0
;
}
if
(
created
)
break
;
continue
;
// Slot is now non-empty
}
}
collide
=
false
;
}
else
if
(!
wasUncontended
)
// CAS already known to fail
wasUncontended
=
true
;
// Continue after rehash
else
if
(
a
.
cas
(
v
=
a
.
value
,
((
fn
==
null
)
?
Double
.
doubleToRawLongBits
(
Double
.
longBitsToDouble
(
v
)
+
x
)
:
Double
.
doubleToRawLongBits
(
fn
.
operateAsDouble
(
Double
.
longBitsToDouble
(
v
),
x
)))))
break
;
else
if
(
n
>=
NCPU
||
cells
!=
as
)
collide
=
false
;
// At max size or stale
else
if
(!
collide
)
collide
=
true
;
else
if
(
cellsBusy
==
0
&&
casCellsBusy
())
{
try
{
if
(
cells
==
as
)
{
// Expand table unless stale
Cell
[]
rs
=
new
Cell
[
n
<<
1
];
for
(
int
i
=
0
;
i
<
n
;
++
i
)
rs
[
i
]
=
as
[
i
];
cells
=
rs
;
}
}
finally
{
cellsBusy
=
0
;
}
collide
=
false
;
continue
;
// Retry with expanded table
}
h
=
advanceProbe
(
h
);
}
else
if
(
cellsBusy
==
0
&&
cells
==
as
&&
casCellsBusy
())
{
boolean
init
=
false
;
try
{
// Initialize table
if
(
cells
==
as
)
{
Cell
[]
rs
=
new
Cell
[
2
];
rs
[
h
&
1
]
=
new
Cell
(
Double
.
doubleToRawLongBits
(
x
));
cells
=
rs
;
init
=
true
;
}
}
finally
{
cellsBusy
=
0
;
}
if
(
init
)
break
;
}
else
if
(
casBase
(
v
=
base
,
((
fn
==
null
)
?
Double
.
doubleToRawLongBits
(
Double
.
longBitsToDouble
(
v
)
+
x
)
:
Double
.
doubleToRawLongBits
(
fn
.
operateAsDouble
(
Double
.
longBitsToDouble
(
v
),
x
)))))
break
;
// Fall back on using base
}
}
// Unsafe mechanics
private
static
final
sun
.
misc
.
Unsafe
UNSAFE
;
private
static
final
long
BASE
;
private
static
final
long
CELLSBUSY
;
private
static
final
long
PROBE
;
static
{
try
{
UNSAFE
=
sun
.
misc
.
Unsafe
.
getUnsafe
();
Class
<?>
sk
=
Striped64
.
class
;
BASE
=
UNSAFE
.
objectFieldOffset
(
sk
.
getDeclaredField
(
"base"
));
CELLSBUSY
=
UNSAFE
.
objectFieldOffset
(
sk
.
getDeclaredField
(
"cellsBusy"
));
Class
<?>
tk
=
Thread
.
class
;
PROBE
=
UNSAFE
.
objectFieldOffset
(
tk
.
getDeclaredField
(
"threadLocalRandomProbe"
));
}
catch
(
Exception
e
)
{
throw
new
Error
(
e
);
}
}
}
src/share/classes/java/util/spi/CalendarNameProvider.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012,
2013,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -134,6 +134,26 @@ import java.util.Map;
* specified. See also the <a href="../../text/SimpleDateFormat.html#year">
* Year representation in {@code SimpleDateFormat}</a>.</td>
* </tr>
* <tr>
* <td rowspan="2" valign="top">{@code "roc"}</td>
* <td rowspan="2" valign="top">{@link Calendar#ERA}</td>
* <td>0</td>
* <td>Before R.O.C.</td>
* </tr>
* <tr>
* <td>1</td>
* <td>R.O.C.</td>
* </tr>
* <tr>
* <td rowspan="2" valign="top">{@code "islamic"}</td>
* <td rowspan="2" valign="top">{@link Calendar#ERA}</td>
* <td>0</td>
* <td>Before AH</td>
* </tr>
* <tr>
* <td>1</td>
* <td>Anno Hijrah (AH)</td>
* </tr>
* </table>
*
* <p>Calendar field value names for {@code "gregory"} must be consistent with
...
...
src/share/classes/sun/text/resources/FormatData.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources
;
import
java.util.ListResourceBundle
;
...
...
@@ -762,6 +798,14 @@ public class FormatData extends ListResourceBundle {
"H:mm"
,
// short time pattern
}
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE, G y MMMM dd"
,
"G y MMMM d"
,
"G y MMM d"
,
"GGGGG yyyy-MM-dd"
,
}
},
{
"buddhist.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM G yyyy"
,
// full date pattern
...
...
@@ -783,6 +827,14 @@ public class FormatData extends ListResourceBundle {
"h:mm a"
,
// short time pattern
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE, G y MMMM dd"
,
"G y MMMM d"
,
"G y MMM d"
,
"GGGGG yy-MM-dd"
,
}
},
{
"japanese.DatePatterns"
,
new
String
[]
{
"GGGG yyyy MMMM d (EEEE)"
,
// full date pattern
...
...
@@ -796,7 +848,103 @@ public class FormatData extends ListResourceBundle {
"{1} {0}"
// date-time pattern
}
},
{
"roc.Eras"
,
new
String
[]
{
"Before R.O.C."
,
"R.O.C."
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE, G y MMMM dd"
,
"G y MMMM d"
,
"G y MMM d"
,
"GGGGG yyy-MM-dd"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE, GGGG y MMMM dd"
,
"GGGG y MMMM d"
,
"GGGG y MMM d"
,
"G yyy-MM-dd"
,
}
},
{
"islamic.MonthNames"
,
new
String
[]
{
"Muharram"
,
"Safar"
,
"Rabi\u02bb I"
,
"Rabi\u02bb II"
,
"Jumada I"
,
"Jumada II"
,
"Rajab"
,
"Sha\u02bbban"
,
"Ramadan"
,
"Shawwal"
,
"Dhu\u02bbl-Qi\u02bbdah"
,
"Dhu\u02bbl-Hijjah"
,
""
,
}
},
{
"islamic.MonthAbbreviations"
,
new
String
[]
{
"Muh."
,
"Saf."
,
"Rab. I"
,
"Rab. II"
,
"Jum. I"
,
"Jum. II"
,
"Raj."
,
"Sha."
,
"Ram."
,
"Shaw."
,
"Dhu\u02bbl-Q."
,
"Dhu\u02bbl-H."
,
""
,
}
},
{
"islamic.Eras"
,
new
String
[]
{
""
,
"AH"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE, MMMM d, y G"
,
"MMMM d, y G"
,
"MMM d, y G"
,
"M/d/yy G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE, MMMM d, y GGGG"
,
"MMMM d, y GGGG"
,
"MMM d, y GGGG"
,
"M/d/yy GGGG"
,
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"calendarname.islamic-civil"
,
"Islamic-Civil Calendar"
},
{
"calendarname.islamicc"
,
"Islamic-Civil Calendar"
},
{
"calendarname.islamic"
,
"Islamic Calendar"
},
{
"calendarname.japanese"
,
"Japanese Calendar"
},
{
"calendarname.gregorian"
,
"Gregorian Calendar"
},
{
"calendarname.gregory"
,
"Gregorian Calendar"
},
{
"calendarname.roc"
,
"Minguo Calendar"
},
{
"calendarname.buddhist"
,
"Buddhist Calendar"
},
{
"field.era"
,
"Era"
},
{
"field.year"
,
"Year"
},
{
"field.month"
,
"Month"
},
{
"field.week"
,
"Week"
},
{
"field.weekday"
,
"Day of the Week"
},
{
"field.dayperiod"
,
"Dayperiod"
},
{
"field.hour"
,
"Hour"
},
{
"field.minute"
,
"Minute"
},
{
"field.second"
,
"Second"
},
{
"field.zone"
,
"Zone"
},
};
}
}
src/share/classes/sun/text/resources/ar/FormatData_ar.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.ar
;
import
java.util.ListResourceBundle
;
...
...
@@ -159,6 +195,118 @@ public class FormatData_ar extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE\u060c d MMMM\u060c y G"
,
"d MMMM\u060c y G"
,
"dd\u200f/MM\u200f/y G"
,
"d\u200f/M\u200f/y G"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE\u060c d MMMM\u060c y G"
,
"d MMMM\u060c y G"
,
"dd\u200f/MM\u200f/y G"
,
"d\u200f/M\u200f/y G"
,
}
},
{
"roc.Eras"
,
new
String
[]
{
"Before R.O.C."
,
"\u062c\u0645\u0647\u0648\u0631\u064a\u0629 \u0627\u0644\u0635\u064a"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE\u060c d MMMM\u060c y G"
,
"d MMMM\u060c y G"
,
"dd\u200f/MM\u200f/y G"
,
"d\u200f/M\u200f/y G"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE\u060c d MMMM\u060c y GGGG"
,
"d MMMM\u060c y GGGG"
,
"dd\u200f/MM\u200f/y GGGG"
,
"d\u200f/M\u200f/y GGGG"
,
}
},
{
"islamic.MonthNames"
,
new
String
[]
{
"\u0645\u062d\u0631\u0645"
,
"\u0635\u0641\u0631"
,
"\u0631\u0628\u064a\u0639 \u0627\u0644\u0623\u0648\u0644"
,
"\u0631\u0628\u064a\u0639 \u0627\u0644\u0622\u062e\u0631"
,
"\u062c\u0645\u0627\u062f\u0649 \u0627\u0644\u0623\u0648\u0644\u0649"
,
"\u062c\u0645\u0627\u062f\u0649 \u0627\u0644\u0622\u062e\u0631\u0629"
,
"\u0631\u062c\u0628"
,
"\u0634\u0639\u0628\u0627\u0646"
,
"\u0631\u0645\u0636\u0627\u0646"
,
"\u0634\u0648\u0627\u0644"
,
"\u0630\u0648 \u0627\u0644\u0642\u0639\u062f\u0629"
,
"\u0630\u0648 \u0627\u0644\u062d\u062c\u0629"
,
""
,
}
},
{
"islamic.MonthAbbreviations"
,
new
String
[]
{
"\u0645\u062d\u0631\u0645"
,
"\u0635\u0641\u0631"
,
"\u0631\u0628\u064a\u0639 \u0627\u0644\u0623\u0648\u0644"
,
"\u0631\u0628\u064a\u0639 \u0627\u0644\u0622\u062e\u0631"
,
"\u062c\u0645\u0627\u062f\u0649 \u0627\u0644\u0623\u0648\u0644\u0649"
,
"\u062c\u0645\u0627\u062f\u0649 \u0627\u0644\u0622\u062e\u0631\u0629"
,
"\u0631\u062c\u0628"
,
"\u0634\u0639\u0628\u0627\u0646"
,
"\u0631\u0645\u0636\u0627\u0646"
,
"\u0634\u0648\u0627\u0644"
,
"\u0630\u0648 \u0627\u0644\u0642\u0639\u062f\u0629"
,
"\u0630\u0648 \u0627\u0644\u062d\u062c\u0629"
,
""
,
}
},
{
"islamic.Eras"
,
new
String
[]
{
""
,
"\u0647\u0640"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE\u060c d MMMM y"
,
"d MMMM y"
,
"d MMM\u060c y G"
,
"d\u200f/M\u200f/yyyy"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE\u060c d MMMM y"
,
"d MMMM y"
,
"d MMM\u060c y GGGG"
,
"d\u200f/M\u200f/yyyy"
,
}
},
{
"calendarname.islamic-civil"
,
"\u062a\u0642\u0648\u064a\u0645 \u0627\u0633\u0644\u0627\u0645\u064a \u0645\u062f\u0646\u064a"
},
{
"calendarname.islamicc"
,
"\u062a\u0642\u0648\u064a\u0645 \u0627\u0633\u0644\u0627\u0645\u064a \u0645\u062f\u0646\u064a"
},
{
"calendarname.islamic"
,
"\u0627\u0644\u062a\u0642\u0648\u064a\u0645 \u0627\u0644\u0647\u062c\u0631\u064a"
},
{
"calendarname.japanese"
,
"\u0627\u0644\u062a\u0642\u0648\u064a\u0645 \u0627\u0644\u064a\u0627\u0628\u0627\u0646\u064a"
},
{
"calendarname.gregorian"
,
"\u0627\u0644\u062a\u0642\u0648\u064a\u0645 \u0627\u0644\u0645\u064a\u0644\u0627\u062f\u064a"
},
{
"calendarname.gregory"
,
"\u0627\u0644\u062a\u0642\u0648\u064a\u0645 \u0627\u0644\u0645\u064a\u0644\u0627\u062f\u064a"
},
{
"calendarname.roc"
,
"\u062a\u0642\u0648\u064a\u0645 \u0645\u064a\u0646\u062c\u0648"
},
{
"calendarname.buddhist"
,
"\u0627\u0644\u062a\u0642\u0648\u064a\u0645 \u0627\u0644\u0628\u0648\u0630\u064a"
},
{
"field.era"
,
"\u0627\u0644\u0639\u0635\u0631"
},
{
"field.year"
,
"\u0627\u0644\u0633\u0646\u0629"
},
{
"field.month"
,
"\u0627\u0644\u0634\u0647\u0631"
},
{
"field.week"
,
"\u0627\u0644\u0623\u0633\u0628\u0648\u0639"
},
{
"field.weekday"
,
"\u0627\u0644\u064a\u0648\u0645"
},
{
"field.dayperiod"
,
"\u0635/\u0645"
},
{
"field.hour"
,
"\u0627\u0644\u0633\u0627\u0639\u0627\u062a"
},
{
"field.minute"
,
"\u0627\u0644\u062f\u0642\u0627\u0626\u0642"
},
{
"field.second"
,
"\u0627\u0644\u062b\u0648\u0627\u0646\u064a"
},
{
"field.zone"
,
"\u0627\u0644\u062a\u0648\u0642\u064a\u062a"
},
};
}
}
src/share/classes/sun/text/resources/be/FormatData_be.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.be
;
import
java.util.ListResourceBundle
;
...
...
@@ -178,6 +214,29 @@ public class FormatData_be extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM y G"
,
"d MMMM y G"
,
"d MMM y G"
,
"d.M.yy"
,
}
},
{
"calendarname.islamic-civil"
,
"\u043c\u0443\u0441\u0443\u043b\u044c\u043c\u0430\u043d\u0441\u043a\u0456 \u0441\u0432\u0435\u0446\u043a\u0456 \u043a\u0430\u043b\u044f\u043d\u0434\u0430\u0440"
},
{
"calendarname.islamicc"
,
"\u043c\u0443\u0441\u0443\u043b\u044c\u043c\u0430\u043d\u0441\u043a\u0456 \u0441\u0432\u0435\u0446\u043a\u0456 \u043a\u0430\u043b\u044f\u043d\u0434\u0430\u0440"
},
{
"calendarname.islamic"
,
"\u043c\u0443\u0441\u0443\u043b\u044c\u043c\u0430\u043d\u0441\u043a\u0456 \u043a\u0430\u043b\u044f\u043d\u0434\u0430\u0440"
},
{
"calendarname.buddhist"
,
"\u0431\u0443\u0434\u044b\u0441\u0446\u043a\u0456 \u043a\u0430\u043b\u044f\u043d\u0434\u0430\u0440"
},
{
"calendarname.japanese"
,
"\u044f\u043f\u043e\u043d\u0441\u043a\u0456 \u043a\u0430\u043b\u044f\u043d\u0434\u0430\u0440"
},
{
"calendarname.gregorian"
,
"\u0433\u0440\u044d\u0433\u0430\u0440\u044b\u044f\u043d\u0441\u043a\u0456 \u043a\u0430\u043b\u044f\u043d\u0434\u0430\u0440"
},
{
"calendarname.gregory"
,
"\u0433\u0440\u044d\u0433\u0430\u0440\u044b\u044f\u043d\u0441\u043a\u0456 \u043a\u0430\u043b\u044f\u043d\u0434\u0430\u0440"
},
{
"field.era"
,
"\u044d\u0440\u0430"
},
{
"field.year"
,
"\u0433\u043e\u0434"
},
{
"field.month"
,
"\u043c\u0435\u0441\u044f\u0446"
},
{
"field.week"
,
"\u0442\u044b\u0434\u0437\u0435\u043d\u044c"
},
{
"field.weekday"
,
"\u0434\u0437\u0435\u043d\u044c \u0442\u044b\u0434\u043d\u044f"
},
{
"field.hour"
,
"\u0433\u0430\u0434\u0437\u0456\u043d\u0430"
},
{
"field.minute"
,
"\u0445\u0432\u0456\u043b\u0456\u043d\u0430"
},
{
"field.second"
,
"\u0441\u0435\u043a\u0443\u043d\u0434\u0430"
},
};
}
}
src/share/classes/sun/text/resources/bg/FormatData_bg.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.bg
;
import
java.util.ListResourceBundle
;
...
...
@@ -161,6 +197,41 @@ public class FormatData_bg extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"islamic.MonthNames"
,
new
String
[]
{
"\u043c\u0443\u0445\u0430\u0440\u0430\u043c"
,
"\u0441\u0430\u0444\u0430\u0440"
,
"\u0440\u0430\u0431\u0438-1"
,
"\u0440\u0430\u0431\u0438-2"
,
"\u0434\u0436\u0443\u043c\u0430\u0434\u0430-1"
,
"\u0434\u0436\u0443\u043c\u0430\u0434\u0430-2"
,
"\u0440\u0430\u0434\u0436\u0430\u0431"
,
"\u0448\u0430\u0431\u0430\u043d"
,
"\u0440\u0430\u043c\u0430\u0437\u0430\u043d"
,
"\u0428\u0430\u0432\u0430\u043b"
,
"\u0414\u0445\u0443\u043b-\u041a\u0430\u0430\u0434\u0430"
,
"\u0414\u0445\u0443\u043b-\u0445\u0438\u0434\u0436\u0430"
,
""
,
}
},
{
"calendarname.islamic-civil"
,
"\u0418\u0441\u043b\u044f\u043c\u0441\u043a\u0438 \u0446\u0438\u0432\u0438\u043b\u0435\u043d \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.islamicc"
,
"\u0418\u0441\u043b\u044f\u043c\u0441\u043a\u0438 \u0446\u0438\u0432\u0438\u043b\u0435\u043d \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.islamic"
,
"\u0418\u0441\u043b\u044f\u043c\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.japanese"
,
"\u042f\u043f\u043e\u043d\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.gregorian"
,
"\u0413\u0440\u0438\u0433\u043e\u0440\u0438\u0430\u043d\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.gregory"
,
"\u0413\u0440\u0438\u0433\u043e\u0440\u0438\u0430\u043d\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.roc"
,
"\u041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440 \u043d\u0430 \u0420\u0435\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u0438\u0442\u0430\u0439"
},
{
"calendarname.buddhist"
,
"\u0411\u0443\u0434\u0438\u0441\u0442\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"field.era"
,
"\u0435\u0440\u0430"
},
{
"field.year"
,
"\u0433\u043e\u0434\u0438\u043d\u0430"
},
{
"field.month"
,
"\u043c\u0435\u0441\u0435\u0446"
},
{
"field.week"
,
"\u0441\u0435\u0434\u043c\u0438\u0446\u0430"
},
{
"field.weekday"
,
"\u0414\u0435\u043d \u043e\u0442 \u0441\u0435\u0434\u043c\u0438\u0446\u0430\u0442\u0430"
},
{
"field.dayperiod"
,
"\u0434\u0435\u043d"
},
{
"field.hour"
,
"\u0447\u0430\u0441"
},
{
"field.minute"
,
"\u043c\u0438\u043d\u0443\u0442\u0430"
},
{
"field.second"
,
"\u0441\u0435\u043a\u0443\u043d\u0434\u0430"
},
{
"field.zone"
,
"\u0437\u043e\u043d\u0430"
},
};
}
}
src/share/classes/sun/text/resources/ca/FormatData_ca.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.ca
;
import
java.util.ListResourceBundle
;
...
...
@@ -217,6 +253,24 @@ public class FormatData_ca extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GuMtkHmsSEDFwWahKzZ"
},
{
"calendarname.islamic-civil"
,
"calendari civil isl\u00e0mic"
},
{
"calendarname.islamicc"
,
"calendari civil isl\u00e0mic"
},
{
"calendarname.roc"
,
"calendari de la Rep\u00fablica de Xina"
},
{
"calendarname.islamic"
,
"calendari musulm\u00e0"
},
{
"calendarname.buddhist"
,
"calendari budista"
},
{
"calendarname.japanese"
,
"calendari japon\u00e8s"
},
{
"calendarname.gregorian"
,
"calendari gregori\u00e0"
},
{
"calendarname.gregory"
,
"calendari gregori\u00e0"
},
{
"field.era"
,
"era"
},
{
"field.year"
,
"any"
},
{
"field.month"
,
"mes"
},
{
"field.week"
,
"setmana"
},
{
"field.weekday"
,
"dia de la setmana"
},
{
"field.dayperiod"
,
"a.m./p.m."
},
{
"field.hour"
,
"hora"
},
{
"field.minute"
,
"minut"
},
{
"field.second"
,
"segon"
},
{
"field.zone"
,
"zona"
},
};
}
}
src/share/classes/sun/text/resources/cs/FormatData_cs.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.cs
;
import
java.util.ListResourceBundle
;
...
...
@@ -201,6 +237,22 @@ public class FormatData_cs extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GuMtkHmsSEDFwWahKzZ"
},
{
"calendarname.islamic-civil"
,
"Muslimsk\u00fd ob\u010dansk\u00fd kalend\u00e1\u0159"
},
{
"calendarname.islamicc"
,
"Muslimsk\u00fd ob\u010dansk\u00fd kalend\u00e1\u0159"
},
{
"calendarname.islamic"
,
"Muslimsk\u00fd kalend\u00e1\u0159"
},
{
"calendarname.buddhist"
,
"Buddhistick\u00fd kalend\u00e1\u0159"
},
{
"calendarname.japanese"
,
"Japonsk\u00fd kalend\u00e1\u0159"
},
{
"calendarname.gregorian"
,
"Gregori\u00e1nsk\u00fd kalend\u00e1\u0159"
},
{
"calendarname.gregory"
,
"Gregori\u00e1nsk\u00fd kalend\u00e1\u0159"
},
{
"field.year"
,
"Rok"
},
{
"field.month"
,
"M\u011bs\u00edc"
},
{
"field.week"
,
"T\u00fdden"
},
{
"field.weekday"
,
"Den v t\u00fddnu"
},
{
"field.dayperiod"
,
"AM/PM"
},
{
"field.hour"
,
"Hodina"
},
{
"field.minute"
,
"Minuta"
},
{
"field.second"
,
"Sekunda"
},
{
"field.zone"
,
"\u010casov\u00e9 p\u00e1smo"
},
};
}
}
src/share/classes/sun/text/resources/da/FormatData_da.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.da
;
import
java.util.ListResourceBundle
;
...
...
@@ -172,6 +208,64 @@ public class FormatData_da extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GuMtkHmsSEDFwWahKzZ"
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y G"
,
"d. MMMM y G"
,
"d. MMM y G"
,
"d/M/y GGGGG"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y G"
,
"d. MMMM y G"
,
"d. MMM y G"
,
"d/M/y GGGGG"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y GGGG"
,
"d. MMMM y GGGG"
,
"d. MMM y GGGG"
,
"d/M/y G"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y G"
,
"d. MMMM y G"
,
"d. MMM y G"
,
"d/M/y G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y GGGG"
,
"d. MMMM y GGGG"
,
"d. MMM y GGGG"
,
"d/M/y GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"verdslig islamisk kalender"
},
{
"calendarname.islamicc"
,
"verdslig islamisk kalender"
},
{
"calendarname.roc"
,
"kalender for Republikken Kina"
},
{
"calendarname.islamic"
,
"islamisk kalender"
},
{
"calendarname.buddhist"
,
"buddhistisk kalender"
},
{
"calendarname.japanese"
,
"japansk kalender"
},
{
"calendarname.gregorian"
,
"gregoriansk kalender"
},
{
"calendarname.gregory"
,
"gregoriansk kalender"
},
{
"field.era"
,
"\u00e6ra"
},
{
"field.year"
,
"\u00e5r"
},
{
"field.month"
,
"m\u00e5ned"
},
{
"field.week"
,
"uge"
},
{
"field.weekday"
,
"ugedag"
},
{
"field.dayperiod"
,
"dagtid"
},
{
"field.hour"
,
"time"
},
{
"field.minute"
,
"minut"
},
{
"field.second"
,
"sekund"
},
{
"field.zone"
,
"tidszone"
},
};
}
}
src/share/classes/sun/text/resources/de/FormatData_de.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.de
;
import
java.util.ListResourceBundle
;
...
...
@@ -178,6 +214,72 @@ public class FormatData_de extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GuMtkHmsSEDFwWahKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y G"
,
"d. MMMM y G"
,
"d. MMM y G"
,
"d.M.yyyy"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y G"
,
"d. MMMM y G"
,
"d. MMM y G"
,
"d.M.y GGGGG"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y G"
,
"d. MMMM y G"
,
"d. MMM y G"
,
"d.M.y GGGGG"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y GGGG"
,
"d. MMMM y GGGG"
,
"d. MMM y GGGG"
,
"d.M.y G"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y G"
,
"d. MMMM y G"
,
"d. MMM y G"
,
"d.M.y G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y GGGG"
,
"d. MMMM y GGGG"
,
"d. MMM y GGGG"
,
"d.M.y GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"B\u00fcrgerlicher islamischer Kalender"
},
{
"calendarname.islamicc"
,
"B\u00fcrgerlicher islamischer Kalender"
},
{
"calendarname.roc"
,
"Kalender der Republik China"
},
{
"calendarname.islamic"
,
"Islamischer Kalender"
},
{
"calendarname.buddhist"
,
"Buddhistischer Kalender"
},
{
"calendarname.japanese"
,
"Japanischer Kalender"
},
{
"calendarname.gregorian"
,
"Gregorianischer Kalender"
},
{
"calendarname.gregory"
,
"Gregorianischer Kalender"
},
{
"field.era"
,
"Epoche"
},
{
"field.year"
,
"Jahr"
},
{
"field.month"
,
"Monat"
},
{
"field.week"
,
"Woche"
},
{
"field.weekday"
,
"Wochentag"
},
{
"field.dayperiod"
,
"Tagesh\u00e4lfte"
},
{
"field.hour"
,
"Stunde"
},
{
"field.minute"
,
"Minute"
},
{
"field.second"
,
"Sekunde"
},
{
"field.zone"
,
"Zone"
},
};
}
}
src/share/classes/sun/text/resources/el/FormatData_el.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,6 +41,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.el
;
import
java.util.ListResourceBundle
;
...
...
@@ -178,6 +214,62 @@ public class FormatData_el extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y G"
,
"d MMMM, y G"
,
"d MMM, y G"
,
"d/M/yyyy"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y G"
,
"d MMMM, y G"
,
"d MMM, y G"
,
"d/M/yy"
,
}
},
{
"roc.Eras"
,
new
String
[]
{
"\u03a0\u03c1\u03b9\u03bd R.O.C."
,
"R.O.C."
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y G"
,
"d MMMM, y G"
,
"d MMM, y G"
,
"d/M/y G"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y GGGG"
,
"d MMMM, y GGGG"
,
"d MMM, y GGGG"
,
"d/M/y GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"\u0399\u03c3\u03bb\u03b1\u03bc\u03b9\u03ba\u03cc \u03b1\u03c3\u03c4\u03b9\u03ba\u03cc \u03b7\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf"
},
{
"calendarname.islamicc"
,
"\u0399\u03c3\u03bb\u03b1\u03bc\u03b9\u03ba\u03cc \u03b1\u03c3\u03c4\u03b9\u03ba\u03cc \u03b7\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf"
},
{
"calendarname.islamic"
,
"\u0399\u03c3\u03bb\u03b1\u03bc\u03b9\u03ba\u03cc \u03b7\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf"
},
{
"calendarname.japanese"
,
"\u0399\u03b1\u03c0\u03c9\u03bd\u03b9\u03ba\u03cc \u03b7\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf"
},
{
"calendarname.gregorian"
,
"\u0393\u03c1\u03b7\u03b3\u03bf\u03c1\u03b9\u03b1\u03bd\u03cc \u03b7\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf"
},
{
"calendarname.gregory"
,
"\u0393\u03c1\u03b7\u03b3\u03bf\u03c1\u03b9\u03b1\u03bd\u03cc \u03b7\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf"
},
{
"calendarname.roc"
,
"\u0397\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf \u03c4\u03b7\u03c2 \u0394\u03b7\u03bc\u03bf\u03ba\u03c1\u03b1\u03c4\u03af\u03b1\u03c2 \u03c4\u03b7\u03c2 \u039a\u03af\u03bd\u03b1\u03c2"
},
{
"calendarname.buddhist"
,
"\u0392\u03bf\u03c5\u03b4\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc \u03b7\u03bc\u03b5\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf"
},
{
"field.era"
,
"\u03a0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf\u03c2"
},
{
"field.year"
,
"\u0388\u03c4\u03bf\u03c2"
},
{
"field.month"
,
"\u039c\u03ae\u03bd\u03b1\u03c2"
},
{
"field.week"
,
"\u0395\u03b2\u03b4\u03bf\u03bc\u03ac\u03b4\u03b1"
},
{
"field.weekday"
,
"\u0397\u03bc\u03ad\u03c1\u03b1 \u03b5\u03b2\u03b4\u03bf\u03bc\u03ac\u03b4\u03b1\u03c2"
},
{
"field.dayperiod"
,
"\u03c0.\u03bc./\u03bc.\u03bc."
},
{
"field.hour"
,
"\u038f\u03c1\u03b1"
},
{
"field.minute"
,
"\u039b\u03b5\u03c0\u03c4\u03cc"
},
{
"field.second"
,
"\u0394\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03bf"
},
{
"field.zone"
,
"\u0396\u03ce\u03bd\u03b7"
},
};
}
}
src/share/classes/sun/text/resources/es/FormatData_es.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.es
;
import
java.util.ListResourceBundle
;
...
...
@@ -159,6 +195,72 @@ public class FormatData_es extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y G"
,
"d 'de' MMMM 'de' y G"
,
"dd/MM/y G"
,
"dd/MM/y G"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y G"
,
"d 'de' MMMM 'de' y G"
,
"dd/MM/y G"
,
"dd/MM/y GGGGG"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y G"
,
"d 'de' MMMM 'de' y G"
,
"dd/MM/y G"
,
"dd/MM/y GGGGG"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y GGGG"
,
"d 'de' MMMM 'de' y GGGG"
,
"dd/MM/y GGGG"
,
"dd/MM/y G"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y G"
,
"d 'de' MMMM 'de' y G"
,
"dd/MM/y G"
,
"dd/MM/y G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y GGGG"
,
"d 'de' MMMM 'de' y GGGG"
,
"dd/MM/y GGGG"
,
"dd/MM/y GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"calendario civil isl\u00e1mico"
},
{
"calendarname.islamicc"
,
"calendario civil isl\u00e1mico"
},
{
"calendarname.islamic"
,
"calendario isl\u00e1mico"
},
{
"calendarname.japanese"
,
"calendario japon\u00e9s"
},
{
"calendarname.gregorian"
,
"calendario gregoriano"
},
{
"calendarname.gregory"
,
"calendario gregoriano"
},
{
"calendarname.roc"
,
"calendario de la Rep\u00fablica de China"
},
{
"calendarname.buddhist"
,
"calendario budista"
},
{
"field.era"
,
"era"
},
{
"field.year"
,
"a\u00f1o"
},
{
"field.month"
,
"mes"
},
{
"field.week"
,
"semana"
},
{
"field.weekday"
,
"d\u00eda de la semana"
},
{
"field.dayperiod"
,
"periodo del d\u00eda"
},
{
"field.hour"
,
"hora"
},
{
"field.minute"
,
"minuto"
},
{
"field.second"
,
"segundo"
},
{
"field.zone"
,
"zona"
},
};
}
}
src/share/classes/sun/text/resources/et/FormatData_et.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.et
;
import
java.util.ListResourceBundle
;
...
...
@@ -158,6 +194,24 @@ public class FormatData_et extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"calendarname.islamic-civil"
,
"islami ilmalik kalender"
},
{
"calendarname.islamicc"
,
"islami ilmalik kalender"
},
{
"calendarname.roc"
,
"Hiina Vabariigi kalender"
},
{
"calendarname.islamic"
,
"islamikalender"
},
{
"calendarname.buddhist"
,
"budistlik kalender"
},
{
"calendarname.japanese"
,
"Jaapani kalender"
},
{
"calendarname.gregorian"
,
"Gregoriuse kalender"
},
{
"calendarname.gregory"
,
"Gregoriuse kalender"
},
{
"field.era"
,
"ajastu"
},
{
"field.year"
,
"aasta"
},
{
"field.month"
,
"kuu"
},
{
"field.week"
,
"n\u00e4dal"
},
{
"field.weekday"
,
"n\u00e4dalap\u00e4ev"
},
{
"field.dayperiod"
,
"enne/p\u00e4rast l\u00f5unat"
},
{
"field.hour"
,
"tund"
},
{
"field.minute"
,
"minut"
},
{
"field.second"
,
"sekund"
},
{
"field.zone"
,
"v\u00f6\u00f6nd"
},
};
}
}
src/share/classes/sun/text/resources/fi/FormatData_fi.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.fi
;
import
java.util.ListResourceBundle
;
...
...
@@ -200,6 +236,14 @@ public class FormatData_fi extends ListResourceBundle {
"H:mm"
,
// short time pattern
}
},
{
"cldr.DatePatterns"
,
new
String
[]
{
"cccc, d. MMMM y"
,
"d. MMMM y"
,
"d.M.yyyy"
,
"d.M.yyyy"
,
}
},
{
"DatePatterns"
,
new
String
[]
{
"d. MMMM'ta 'yyyy"
,
// full date pattern
...
...
@@ -226,6 +270,89 @@ public class FormatData_fi extends ListResourceBundle {
"ip."
,
}
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"cccc d. MMMM y G"
,
"d. MMMM y G"
,
"d.M.y G"
,
"d.M.y G"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"cccc d. MMMM y G"
,
"d. MMMM y G"
,
"d.M.y G"
,
"d.M.y G"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"cccc d. MMMM y G"
,
"d. MMMM y G"
,
"d.M.y G"
,
"d.M.y G"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y GGGG"
,
"d. MMMM y GGGG"
,
"d.M.y GGGG"
,
"d.M.y GGGG"
,
}
},
{
"islamic.MonthNames"
,
new
String
[]
{
"muharram"
,
"safar"
,
"rabi\u2019 al-awwal"
,
"rabi\u2019 al-akhir"
,
"d\u017eumada-l-ula"
,
"d\u017eumada-l-akhira"
,
"rad\u017eab"
,
"\u0161a\u2019ban"
,
"ramadan"
,
"\u0161awwal"
,
"dhu-l-qa\u2019da"
,
"dhu-l-hidd\u017ea"
,
""
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"cccc d. MMMM y G"
,
"d. MMMM y G"
,
"d.M.y G"
,
"d.M.y G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE d. MMMM y GGGG"
,
"d. MMMM y GGGG"
,
"d.M.y GGGG"
,
"d.M.y GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"islamilainen siviilikalenteri"
},
{
"calendarname.islamicc"
,
"islamilainen siviilikalenteri"
},
{
"calendarname.islamic"
,
"islamilainen kalenteri"
},
{
"calendarname.japanese"
,
"japanilainen kalenteri"
},
{
"calendarname.gregorian"
,
"gregoriaaninen kalenteri"
},
{
"calendarname.gregory"
,
"gregoriaaninen kalenteri"
},
{
"calendarname.roc"
,
"Kiinan tasavallan kalenteri"
},
{
"calendarname.buddhist"
,
"buddhalainen kalenteri"
},
{
"field.era"
,
"aikakausi"
},
{
"field.year"
,
"vuosi"
},
{
"field.month"
,
"kuukausi"
},
{
"field.week"
,
"viikko"
},
{
"field.weekday"
,
"viikonp\u00e4iv\u00e4"
},
{
"field.dayperiod"
,
"vuorokaudenaika"
},
{
"field.hour"
,
"tunti"
},
{
"field.minute"
,
"minuutti"
},
{
"field.second"
,
"sekunti"
},
{
"field.zone"
,
"aikavy\u00f6hyke"
},
};
}
}
src/share/classes/sun/text/resources/fr/FormatData_fr.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.fr
;
import
java.util.ListResourceBundle
;
...
...
@@ -165,6 +201,112 @@ public class FormatData_fr extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GaMjkHmsSEDFwWxhKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"d MMMM y G"
,
"d MMM, y G"
,
"d/M/yyyy"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"d MMMM y G"
,
"d MMM, y G"
,
"d/M/y GGGGG"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"d MMMM y G"
,
"d MMM, y G"
,
"d/M/y GGGGG"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y GGGG"
,
"d MMMM y GGGG"
,
"d MMM, y GGGG"
,
"d/M/y G"
,
}
},
{
"islamic.MonthNames"
,
new
String
[]
{
"Mouharram"
,
"Safar"
,
"Rabi\u02bb-oul-Aououal"
,
"Rabi\u02bb-out-Tani"
,
"Djoumada-l-Oula"
,
"Djoumada-t-Tania"
,
"Radjab"
,
"Cha\u02bbban"
,
"Ramadan"
,
"Chaououal"
,
"Dou-l-Qa\u02bbda"
,
"Dou-l-Hidjja"
,
""
,
}
},
{
"islamic.MonthAbbreviations"
,
new
String
[]
{
"Mouh."
,
"Saf."
,
"Rabi\u02bb-oul-A."
,
"Rabi\u02bb-out-T."
,
"Djoum.-l-O."
,
"Djoum.-t-T."
,
"Radj."
,
"Cha."
,
"Ram."
,
"Chaou."
,
"Dou-l-Q."
,
"Dou-l-H."
,
""
,
}
},
{
"islamic.Eras"
,
new
String
[]
{
""
,
"AH"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"d MMMM y G"
,
"d MMM, y G"
,
"d/M/y G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y GGGG"
,
"d MMMM y GGGG"
,
"d MMM, y GGGG"
,
"d/M/y GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"Calendrier civil musulman"
},
{
"calendarname.islamicc"
,
"Calendrier civil musulman"
},
{
"calendarname.islamic"
,
"Calendrier musulman"
},
{
"calendarname.japanese"
,
"Calendrier japonais"
},
{
"calendarname.gregorian"
,
"Calendrier gr\u00e9gorien"
},
{
"calendarname.gregory"
,
"Calendrier gr\u00e9gorien"
},
{
"calendarname.roc"
,
"Calendrier r\u00e9publicain chinois"
},
{
"calendarname.buddhist"
,
"Calendrier bouddhiste"
},
{
"field.era"
,
"\u00e8re"
},
{
"field.year"
,
"ann\u00e9e"
},
{
"field.month"
,
"mois"
},
{
"field.week"
,
"semaine"
},
{
"field.weekday"
,
"jour de la semaine"
},
{
"field.dayperiod"
,
"cadran"
},
{
"field.hour"
,
"heure"
},
{
"field.minute"
,
"minute"
},
{
"field.second"
,
"seconde"
},
{
"field.zone"
,
"fuseau horaire"
},
};
}
}
src/share/classes/sun/text/resources/hi/FormatData_hi_IN.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1999, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -29,6 +29,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.hi
;
import
java.util.ListResourceBundle
;
...
...
@@ -159,6 +195,24 @@ public class FormatData_hi_IN extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"calendarname.islamic-civil"
,
"\u0907\u0938\u094d\u0932\u093e\u092e\u0940 \u0928\u093e\u0917\u0930\u093f\u0915 \u092a\u0902\u091a\u093e\u0902\u0917"
},
{
"calendarname.islamicc"
,
"\u0907\u0938\u094d\u0932\u093e\u092e\u0940 \u0928\u093e\u0917\u0930\u093f\u0915 \u092a\u0902\u091a\u093e\u0902\u0917"
},
{
"calendarname.roc"
,
"\u091a\u0940\u0928\u0940 \u0917\u0923\u0924\u0902\u0924\u094d\u0930 \u092a\u0902\u091a\u093e\u0902\u0917"
},
{
"calendarname.islamic"
,
"\u0907\u0938\u094d\u0932\u093e\u092e\u0940 \u092a\u0902\u091a\u093e\u0902\u0917"
},
{
"calendarname.buddhist"
,
"\u092c\u094c\u0926\u094d\u0927 \u092a\u0902\u091a\u093e\u0902\u0917"
},
{
"calendarname.japanese"
,
"\u091c\u093e\u092a\u093e\u0928\u0940 \u092a\u0902\u091a\u093e\u0902\u0917"
},
{
"calendarname.gregorian"
,
"\u0917\u094d\u0930\u0947\u0917\u0930\u0940 \u092a\u0902\u091a\u093e\u0902\u0917"
},
{
"calendarname.gregory"
,
"\u0917\u094d\u0930\u0947\u0917\u0930\u0940 \u092a\u0902\u091a\u093e\u0902\u0917"
},
{
"field.era"
,
"\u092f\u0941\u0917"
},
{
"field.year"
,
"\u0935\u0930\u094d\u0937"
},
{
"field.month"
,
"\u092e\u093e\u0938"
},
{
"field.week"
,
"\u0938\u092a\u094d\u0924\u093e\u0939"
},
{
"field.weekday"
,
"\u0938\u092a\u094d\u0924\u093e\u0939 \u0915\u093e \u0926\u093f\u0928"
},
{
"field.dayperiod"
,
"\u0938\u092e\u092f \u0905\u0935\u0927\u093f"
},
{
"field.hour"
,
"\u0918\u0902\u091f\u093e"
},
{
"field.minute"
,
"\u092e\u093f\u0928\u091f"
},
{
"field.second"
,
"\u0938\u0947\u0915\u0947\u0902\u0921"
},
{
"field.zone"
,
"\u0915\u094d\u0937\u0947\u0924\u094d\u0930"
},
};
}
}
src/share/classes/sun/text/resources/hr/FormatData_hr.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.hr
;
import
java.util.ListResourceBundle
;
...
...
@@ -214,6 +250,62 @@ public class FormatData_hr extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE, d. MMMM y. G"
,
"d. MMMM y. G"
,
"d. M. y. G"
,
"d.M.y."
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE, d. MMMM y. G"
,
"d. MMMM y. G"
,
"d. M. y. G"
,
"d.M.y. G"
,
}
},
{
"roc.Eras"
,
new
String
[]
{
"prije R.O.C."
,
"R.O.C."
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE, d. MMMM y. G"
,
"d. MMMM y. G"
,
"d. M. y. G"
,
"d.M.y. G"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE, d. MMMM y. GGGG"
,
"d. MMMM y. GGGG"
,
"d. M. y. GGGG"
,
"d.M.y. GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"islamski civilni kalendar"
},
{
"calendarname.islamicc"
,
"islamski civilni kalendar"
},
{
"calendarname.roc"
,
"kalendar Republike Kine"
},
{
"calendarname.islamic"
,
"islamski kalendar"
},
{
"calendarname.buddhist"
,
"budisti\u010dki kalendar"
},
{
"calendarname.japanese"
,
"japanski kalendar"
},
{
"calendarname.gregorian"
,
"gregorijanski kalendar"
},
{
"calendarname.gregory"
,
"gregorijanski kalendar"
},
{
"field.era"
,
"era"
},
{
"field.year"
,
"godina"
},
{
"field.month"
,
"mjesec"
},
{
"field.week"
,
"tjedan"
},
{
"field.weekday"
,
"dan u tjednu"
},
{
"field.dayperiod"
,
"dio dana"
},
{
"field.hour"
,
"sat"
},
{
"field.minute"
,
"minuta"
},
{
"field.second"
,
"sekunda"
},
{
"field.zone"
,
"zona"
},
};
}
}
src/share/classes/sun/text/resources/hu/FormatData_hu.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.hu
;
import
java.util.ListResourceBundle
;
...
...
@@ -164,6 +200,47 @@ public class FormatData_hu extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"islamic.MonthNames"
,
new
String
[]
{
"Moharrem"
,
"Safar"
,
"R\u00e9bi el avvel"
,
"R\u00e9bi el accher"
,
"Dsem\u00e1di el avvel"
,
"Dsem\u00e1di el accher"
,
"Redseb"
,
"Sab\u00e1n"
,
"Ramad\u00e1n"
,
"Sevv\u00e1l"
,
"Ds\u00fcl kade"
,
"Ds\u00fcl hedse"
,
""
,
}
},
{
"islamic.Eras"
,
new
String
[]
{
""
,
"MF"
,
}
},
{
"calendarname.islamic-civil"
,
"iszl\u00e1m civil napt\u00e1r"
},
{
"calendarname.islamicc"
,
"iszl\u00e1m civil napt\u00e1r"
},
{
"calendarname.islamic"
,
"iszl\u00e1m napt\u00e1r"
},
{
"calendarname.japanese"
,
"jap\u00e1n napt\u00e1r"
},
{
"calendarname.gregorian"
,
"Gergely-napt\u00e1r"
},
{
"calendarname.gregory"
,
"Gergely-napt\u00e1r"
},
{
"calendarname.roc"
,
"K\u00ednai k\u00f6zt\u00e1rsas\u00e1gi napt\u00e1r"
},
{
"calendarname.buddhist"
,
"buddhista napt\u00e1r"
},
{
"field.era"
,
"\u00e9ra"
},
{
"field.year"
,
"\u00e9v"
},
{
"field.month"
,
"h\u00f3nap"
},
{
"field.week"
,
"h\u00e9t"
},
{
"field.weekday"
,
"h\u00e9t napja"
},
{
"field.dayperiod"
,
"napszak"
},
{
"field.hour"
,
"\u00f3ra"
},
{
"field.minute"
,
"perc"
},
{
"field.second"
,
"m\u00e1sodperc"
},
{
"field.zone"
,
"z\u00f3na"
},
};
}
}
src/share/classes/sun/text/resources/is/FormatData_is.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.is
;
import
java.util.ListResourceBundle
;
...
...
@@ -180,6 +216,13 @@ public class FormatData_is extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"calendarname.islamic-civil"
,
"\u00cdslamskt borgaradagatal"
},
{
"calendarname.islamicc"
,
"\u00cdslamskt borgaradagatal"
},
{
"calendarname.islamic"
,
"\u00cdslamskt dagatal"
},
{
"calendarname.buddhist"
,
"B\u00fadd\u00edskt dagatal"
},
{
"calendarname.japanese"
,
"Japanskt dagatal"
},
{
"calendarname.gregorian"
,
"Gregor\u00edskt dagatal"
},
{
"calendarname.gregory"
,
"Gregor\u00edskt dagatal"
},
};
}
}
src/share/classes/sun/text/resources/it/FormatData_it.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.it
;
import
java.util.ListResourceBundle
;
...
...
@@ -175,6 +211,71 @@ public class FormatData_it extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"dd MMMM y G"
,
"dd/MMM/y G"
,
"dd/MM/y G"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"dd MMMM y G"
,
"dd/MMM/y G"
,
"dd/MM/y G"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"dd MMMM y G"
,
"dd/MMM/y G"
,
"dd/MM/y G"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y GGGG"
,
"dd MMMM y GGGG"
,
"dd/MMM/y GGGG"
,
"dd/MM/y GGGG"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"dd MMMM y G"
,
"dd/MMM/y G"
,
"dd/MM/y G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y GGGG"
,
"dd MMMM y GGGG"
,
"dd/MMM/y GGGG"
,
"dd/MM/y GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"calendario civile islamico"
},
{
"calendarname.islamicc"
,
"calendario civile islamico"
},
{
"calendarname.islamic"
,
"calendario islamico"
},
{
"calendarname.buddhist"
,
"calendario buddista"
},
{
"calendarname.japanese"
,
"calendario giapponese"
},
{
"calendarname.gregorian"
,
"calendario gregoriano"
},
{
"calendarname.gregory"
,
"calendario gregoriano"
},
{
"field.era"
,
"era"
},
{
"field.year"
,
"anno"
},
{
"field.month"
,
"mese"
},
{
"field.week"
,
"settimana"
},
{
"field.weekday"
,
"giorno della settimana"
},
{
"field.dayperiod"
,
"periodo del giorno"
},
{
"field.hour"
,
"ora"
},
{
"field.minute"
,
"minuto"
},
{
"field.second"
,
"secondo"
},
{
"field.zone"
,
"zona"
},
};
}
}
src/share/classes/sun/text/resources/iw/FormatData_iw.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.iw
;
import
java.util.ListResourceBundle
;
...
...
@@ -171,6 +207,46 @@ public class FormatData_iw extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"islamic.MonthNames"
,
new
String
[]
{
"\u05de\u05d5\u05d7\u05e8\u05dd"
,
"\u05e1\u05e4\u05e8"
,
"\u05e8\u05d1\u05d9\u05e2 \u05d0\u05dc-\u05d0\u05d5\u05d5\u05d0\u05dc"
,
"\u05e8\u05d1\u05d9\u05e2 \u05d0\u05dc-\u05ea\u05e0\u05d9"
,
"\u05d2\u05f3\u05d5\u05de\u05d3\u05d4 \u05d0\u05dc-\u05d0\u05d5\u05d5\u05d0\u05dc"
,
"\u05d2\u05f3\u05d5\u05de\u05d3\u05d4 \u05d0\u05dc-\u05ea\u05e0\u05d9"
,
"\u05e8\u05d2\u05f3\u05d0\u05d1"
,
"\u05e9\u05e2\u05d1\u05d0\u05df"
,
"\u05e8\u05d0\u05de\u05d3\u05df"
,
"\u05e9\u05d5\u05d5\u05d0\u05dc"
,
"\u05d6\u05d5 \u05d0\u05dc-QI'DAH"
,
"\u05d6\u05d5 \u05d0\u05dc-\u05d7\u05d9\u05d2\u05f3\u05d4"
,
""
,
}
},
{
"islamic.Eras"
,
new
String
[]
{
""
,
"\u05e9\u05e0\u05ea \u05d4\u05d9\u05d2\u05f3\u05e8\u05d4"
,
}
},
{
"calendarname.islamic-civil"
,
"\u05dc\u05d5\u05d7 \u05e9\u05e0\u05d4 \u05de\u05d5\u05e1\u05dc\u05de\u05d9-\u05d0\u05d6\u05e8\u05d7\u05d9"
},
{
"calendarname.islamicc"
,
"\u05dc\u05d5\u05d7 \u05e9\u05e0\u05d4 \u05de\u05d5\u05e1\u05dc\u05de\u05d9-\u05d0\u05d6\u05e8\u05d7\u05d9"
},
{
"calendarname.islamic"
,
"\u05dc\u05d5\u05d7 \u05e9\u05e0\u05d4 \u05de\u05d5\u05e1\u05dc\u05de\u05d9"
},
{
"calendarname.buddhist"
,
"\u05dc\u05d5\u05d7 \u05e9\u05e0\u05d4 \u05d1\u05d5\u05d3\u05d4\u05d9\u05e1\u05d8\u05d9"
},
{
"calendarname.japanese"
,
"\u05dc\u05d5\u05d7 \u05e9\u05e0\u05d4 \u05d9\u05e4\u05e0\u05d9"
},
{
"calendarname.gregorian"
,
"\u05dc\u05d5\u05d7 \u05e9\u05e0\u05d4 \u05d2\u05e8\u05d2\u05d5\u05e8\u05d9\u05d0\u05e0\u05d9"
},
{
"calendarname.gregory"
,
"\u05dc\u05d5\u05d7 \u05e9\u05e0\u05d4 \u05d2\u05e8\u05d2\u05d5\u05e8\u05d9\u05d0\u05e0\u05d9"
},
{
"field.era"
,
"\u05ea\u05e7\u05d5\u05e4\u05d4"
},
{
"field.year"
,
"\u05e9\u05e0\u05d4"
},
{
"field.month"
,
"\u05d7\u05d5\u05d3\u05e9"
},
{
"field.week"
,
"\u05e9\u05d1\u05d5\u05e2"
},
{
"field.weekday"
,
"\u05d9\u05d5\u05dd \u05d1\u05e9\u05d1\u05d5\u05e2"
},
{
"field.dayperiod"
,
"\u05dc\u05e4\u05d4\u05f4\u05e6/\u05d0\u05d7\u05d4\u05f4\u05e6"
},
{
"field.hour"
,
"\u05e9\u05e2\u05d4"
},
{
"field.minute"
,
"\u05d3\u05e7\u05d4"
},
{
"field.second"
,
"\u05e9\u05e0\u05d9\u05d9\u05d4"
},
{
"field.zone"
,
"\u05d0\u05d6\u05d5\u05e8"
},
};
}
}
src/share/classes/sun/text/resources/ja/FormatData_ja.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.ja
;
import
java.util.ListResourceBundle
;
...
...
@@ -133,6 +169,14 @@ public class FormatData_ja extends ListResourceBundle {
"\u4ecf\u66a6"
,
// Butsureki
}
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"GGGGy\u5e74M\u6708d\u65e5EEEE"
,
"GGGGy\u5e74M\u6708d\u65e5"
,
"Gy/MM/dd"
,
"Gy/MM/dd"
,
}
},
{
"japanese.Eras"
,
new
String
[]
{
// era strings for Japanese imperial calendar
"\u897f\u66a6"
,
// Seireki (Gregorian)
...
...
@@ -183,6 +227,14 @@ public class FormatData_ja extends ListResourceBundle {
"{1} {0}"
// date-time pattern
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"Gy\u5e74M\u6708d\u65e5EEEE"
,
"Gy\u5e74M\u6708d\u65e5"
,
"Gy\u5e74M\u6708d\u65e5"
,
"Gyy/MM/dd"
,
}
},
{
"japanese.DatePatterns"
,
new
String
[]
{
"GGGGyyyy'\u5e74'M'\u6708'd'\u65e5'"
,
// full date pattern
...
...
@@ -205,6 +257,46 @@ public class FormatData_ja extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"roc.Eras"
,
new
String
[]
{
"\u6c11\u56fd\u524d"
,
"\u6c11\u56fd"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"Gy\u5e74M\u6708d\u65e5EEEE"
,
"Gy\u5e74M\u6708d\u65e5"
,
"Gy/MM/dd"
,
"Gy/MM/dd"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"GGGGy\u5e74M\u6708d\u65e5EEEE"
,
"GGGGy\u5e74M\u6708d\u65e5"
,
"GGGGy/MM/dd"
,
"GGGGy/MM/dd"
,
}
},
{
"calendarname.islamic-civil"
,
"\u592a\u967d\u30a4\u30b9\u30e9\u30e0\u66a6"
},
{
"calendarname.islamicc"
,
"\u592a\u967d\u30a4\u30b9\u30e9\u30e0\u66a6"
},
{
"calendarname.islamic"
,
"\u30a4\u30b9\u30e9\u30e0\u66a6"
},
{
"calendarname.japanese"
,
"\u548c\u66a6"
},
{
"calendarname.gregorian"
,
"\u897f\u66a6[\u30b0\u30ec\u30b4\u30ea\u30aa\u66a6]"
},
{
"calendarname.gregory"
,
"\u897f\u66a6[\u30b0\u30ec\u30b4\u30ea\u30aa\u66a6]"
},
{
"calendarname.roc"
,
"\u4e2d\u83ef\u6c11\u56fd\u66a6"
},
{
"calendarname.buddhist"
,
"\u30bf\u30a4\u4ecf\u6559\u66a6"
},
{
"field.era"
,
"\u6642\u4ee3"
},
{
"field.year"
,
"\u5e74"
},
{
"field.month"
,
"\u6708"
},
{
"field.week"
,
"\u9031"
},
{
"field.weekday"
,
"\u66dc\u65e5"
},
{
"field.dayperiod"
,
"\u5348\u524d/\u5348\u5f8c"
},
{
"field.hour"
,
"\u6642"
},
{
"field.minute"
,
"\u5206"
},
{
"field.second"
,
"\u79d2"
},
{
"field.zone"
,
"\u30bf\u30a4\u30e0\u30be\u30fc\u30f3"
},
};
}
}
src/share/classes/sun/text/resources/ko/FormatData_ko.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.ko
;
import
java.util.ListResourceBundle
;
...
...
@@ -143,6 +179,62 @@ public class FormatData_ko extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"G y\ub144 M\uc6d4 d\uc77c EEEE"
,
"G y\ub144 M\uc6d4 d\uc77c"
,
"G y. M. d"
,
"G y. M. d"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"G y\ub144 M\uc6d4 d\uc77c EEEE"
,
"G y\ub144 M\uc6d4 d\uc77c"
,
"G y. M. d"
,
"G y. M. d"
,
}
},
{
"roc.Eras"
,
new
String
[]
{
"\uc911\ud654\ubbfc\uad6d\uc804"
,
"\uc911\ud654\ubbfc\uad6d"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"G y\ub144 M\uc6d4 d\uc77c EEEE"
,
"G y\ub144 M\uc6d4 d\uc77c"
,
"G y. M. d"
,
"G y. M. d"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"GGGG y\ub144 M\uc6d4 d\uc77c EEEE"
,
"GGGG y\ub144 M\uc6d4 d\uc77c"
,
"GGGG y. M. d"
,
"GGGG y. M. d"
,
}
},
{
"calendarname.islamic-civil"
,
"\uc774\uc2ac\ub78c \uc0c1\uc6a9\ub825"
},
{
"calendarname.islamicc"
,
"\uc774\uc2ac\ub78c \uc0c1\uc6a9\ub825"
},
{
"calendarname.islamic"
,
"\uc774\uc2ac\ub78c\ub825"
},
{
"calendarname.japanese"
,
"\uc77c\ubcf8\ub825"
},
{
"calendarname.gregorian"
,
"\ud0dc\uc591\ub825"
},
{
"calendarname.gregory"
,
"\ud0dc\uc591\ub825"
},
{
"calendarname.roc"
,
"\ub300\ub9cc\ub825"
},
{
"calendarname.buddhist"
,
"\ubd88\uad50\ub825"
},
{
"field.era"
,
"\uc5f0\ud638"
},
{
"field.year"
,
"\ub144"
},
{
"field.month"
,
"\uc6d4"
},
{
"field.week"
,
"\uc8fc"
},
{
"field.weekday"
,
"\uc694\uc77c"
},
{
"field.dayperiod"
,
"\uc624\uc804/\uc624\ud6c4"
},
{
"field.hour"
,
"\uc2dc"
},
{
"field.minute"
,
"\ubd84"
},
{
"field.second"
,
"\ucd08"
},
{
"field.zone"
,
"\uc2dc\uac04\ub300"
},
};
}
}
src/share/classes/sun/text/resources/lt/FormatData_lt.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.lt
;
import
java.util.ListResourceBundle
;
...
...
@@ -203,6 +239,32 @@ public class FormatData_lt extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"y G, MMMM d, EEEE"
,
"G y MMMM d"
,
"G y MMM d"
,
"GGGGG yyyy-MM-dd"
,
}
},
{
"calendarname.islamic-civil"
,
"Pilietinis islamo kalendorius"
},
{
"calendarname.islamicc"
,
"Pilietinis islamo kalendorius"
},
{
"calendarname.islamic"
,
"Islamo kalendorius"
},
{
"calendarname.japanese"
,
"Japon\u0173 kalendorius"
},
{
"calendarname.gregorian"
,
"Grigaliaus kalendorius"
},
{
"calendarname.gregory"
,
"Grigaliaus kalendorius"
},
{
"calendarname.roc"
,
"Kinijos Respublikos kalendorius"
},
{
"calendarname.buddhist"
,
"Budist\u0173 kalendorius"
},
{
"field.era"
,
"era"
},
{
"field.year"
,
"metai"
},
{
"field.month"
,
"m\u0117nuo"
},
{
"field.week"
,
"savait\u0117"
},
{
"field.weekday"
,
"savait\u0117s diena"
},
{
"field.dayperiod"
,
"dienos metas"
},
{
"field.hour"
,
"valanda"
},
{
"field.minute"
,
"minut\u0117"
},
{
"field.second"
,
"sekund\u0117"
},
{
"field.zone"
,
"laiko juosta"
},
};
}
}
src/share/classes/sun/text/resources/lv/FormatData_lv.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.lv
;
import
java.util.ListResourceBundle
;
...
...
@@ -175,6 +211,41 @@ public class FormatData_lv extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"islamic.MonthNames"
,
new
String
[]
{
"muharams"
,
"safars"
,
"1. rab\u012b"
,
"2. rab\u012b"
,
"1. d\u017eum\u0101d\u0101"
,
"2. d\u017eum\u0101d\u0101"
,
"rad\u017eabs"
,
"\u0161abans"
,
"ramad\u0101ns"
,
"\u0161auvals"
,
"du al-kid\u0101"
,
"du al-hid\u017e\u0101"
,
""
,
}
},
{
"calendarname.islamic-civil"
,
"isl\u0101ma pilso\u0146u kalend\u0101rs"
},
{
"calendarname.islamicc"
,
"isl\u0101ma pilso\u0146u kalend\u0101rs"
},
{
"calendarname.islamic"
,
"isl\u0101ma kalend\u0101rs"
},
{
"calendarname.japanese"
,
"jap\u0101\u0146u kalend\u0101rs"
},
{
"calendarname.gregorian"
,
"Gregora kalend\u0101rs"
},
{
"calendarname.gregory"
,
"Gregora kalend\u0101rs"
},
{
"calendarname.roc"
,
"\u0136\u012bnas Republikas kalend\u0101rs"
},
{
"calendarname.buddhist"
,
"budistu kalend\u0101rs"
},
{
"field.era"
,
"\u0113ra"
},
{
"field.year"
,
"Gads"
},
{
"field.month"
,
"M\u0113nesis"
},
{
"field.week"
,
"Ned\u0113\u013ca"
},
{
"field.weekday"
,
"Ned\u0113\u013cas diena"
},
{
"field.dayperiod"
,
"Dayperiod"
},
{
"field.hour"
,
"Stundas"
},
{
"field.minute"
,
"Min\u016btes"
},
{
"field.second"
,
"Sekundes"
},
{
"field.zone"
,
"Josla"
},
};
}
}
src/share/classes/sun/text/resources/mk/FormatData_mk.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.mk
;
import
java.util.ListResourceBundle
;
...
...
@@ -158,6 +194,24 @@ public class FormatData_mk extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GuMtkHmsSEDFwWahKzZ"
},
{
"calendarname.islamic-civil"
,
"\u0418\u0441\u043b\u0430\u043c\u0441\u043a\u0438 \u0433\u0440\u0430\u0453\u0430\u043d\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.islamicc"
,
"\u0418\u0441\u043b\u0430\u043c\u0441\u043a\u0438 \u0433\u0440\u0430\u0453\u0430\u043d\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.roc"
,
"\u041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440 \u043d\u0430 \u0420\u0435\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u0438\u043d\u0430"
},
{
"calendarname.islamic"
,
"\u0418\u0441\u043b\u0430\u043c\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.buddhist"
,
"\u0411\u0443\u0434\u0438\u0441\u0442\u0438\u0447\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.japanese"
,
"\u0408\u0430\u043f\u043e\u043d\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.gregorian"
,
"\u0413\u0440\u0435\u0433\u043e\u0440\u0438\u0458\u0430\u043d\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"calendarname.gregory"
,
"\u0413\u0440\u0435\u0433\u043e\u0440\u0438\u0458\u0430\u043d\u0441\u043a\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440"
},
{
"field.era"
,
"\u0415\u0440\u0430"
},
{
"field.year"
,
"\u0433\u043e\u0434\u0438\u043d\u0430"
},
{
"field.month"
,
"\u041c\u0435\u0441\u0435\u0446"
},
{
"field.week"
,
"\u041d\u0435\u0434\u0435\u043b\u0430"
},
{
"field.weekday"
,
"\u0414\u0435\u043d \u0432\u043e \u043d\u0435\u0434\u0435\u043b\u0430\u0442\u0430"
},
{
"field.dayperiod"
,
"\u043f\u0440\u0435\u0442\u043f\u043b\u0430\u0434\u043d\u0435/\u043f\u043e\u043f\u043b\u0430\u0434\u043d\u0435"
},
{
"field.hour"
,
"\u0427\u0430\u0441"
},
{
"field.minute"
,
"\u041c\u0438\u043d\u0443\u0442\u0430"
},
{
"field.second"
,
"\u0421\u0435\u043a\u0443\u043d\u0434\u0430"
},
{
"field.zone"
,
"\u0437\u043e\u043d\u0430"
},
};
}
}
src/share/classes/sun/text/resources/ms/FormatData_ms.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 2005, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
3
, Oracle and/or its affiliates. All rights reserved.
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-20
07 Unicode, Inc. All rights reserved.
*
Distributed under
the Terms of Use in http://www.unicode.org/copyright.html.
* Copyright (C) 1991-20
12 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
...
...
@@ -14,10 +14,10 @@
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do
*
so, provided that (a) the above copyright notice(s) and this permission
*
notice appear with all copies of the Data Files or Software, (b) both th
e
*
above
copyright notice(s) and this permission notice appear in associated
* to permit persons to whom the Data Files or Software are furnished to do
so,
*
provided that (a) the above copyright notice(s) and this permission notice
*
appear with all copies of the Data Files or Software, (b) both the abov
e
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
...
...
@@ -27,19 +27,17 @@
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
*
USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
*
PERFORMANCE
OF THE DATA FILES OR SOFTWARE.
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written
*
authorization
of the copyright holder.
* dealings in these Data Files or Software without prior written
authorization
* of the copyright holder.
*/
// Generated automatically from the Common Locale Data Repository. DO NOT EDIT!
package
sun.text.resources.ms
;
import
java.util.ListResourceBundle
;
...
...
@@ -191,6 +189,71 @@ public class FormatData_ms extends ListResourceBundle {
"{1} {0}"
,
}
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM y G"
,
"d MMMM y G"
,
"dd/MM/y G"
,
"d/MM/y G"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM y G"
,
"d MMMM y G"
,
"dd/MM/y G"
,
"d/MM/y G"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM y G"
,
"d MMMM y G"
,
"dd/MM/y G"
,
"d/MM/y G"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM y GGGG"
,
"d MMMM y GGGG"
,
"dd/MM/y GGGG"
,
"d/MM/y GGGG"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM y G"
,
"d MMMM y G"
,
"dd/MM/y G"
,
"d/MM/y G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM y GGGG"
,
"d MMMM y GGGG"
,
"dd/MM/y GGGG"
,
"d/MM/y GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"Kalendar Sivil Islam"
},
{
"calendarname.islamicc"
,
"Kalendar Sivil Islam"
},
{
"calendarname.islamic"
,
"Kalendar Islam"
},
{
"calendarname.buddhist"
,
"Kalendar Buddha"
},
{
"calendarname.japanese"
,
"Kalendar Jepun"
},
{
"calendarname.roc"
,
"Kalendar Minguo"
},
{
"calendarname.gregorian"
,
"Kalendar Gregory"
},
{
"calendarname.gregory"
,
"Kalendar Gregory"
},
{
"field.year"
,
"Tahun"
},
{
"field.month"
,
"Bulan"
},
{
"field.week"
,
"Minggu"
},
{
"field.weekday"
,
"Hari dalam Minggu"
},
{
"field.dayperiod"
,
"PG/PTG"
},
{
"field.hour"
,
"Jam"
},
{
"field.minute"
,
"Minit"
},
{
"field.second"
,
"Kedua"
},
{
"field.zone"
,
"Zon Waktu"
},
};
}
}
src/share/classes/sun/text/resources/mt/FormatData_mt.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 2005, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
3
, Oracle and/or its affiliates. All rights reserved.
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-20
07 Unicode, Inc. All rights reserved.
*
Distributed under
the Terms of Use in http://www.unicode.org/copyright.html.
* Copyright (C) 1991-20
12 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
...
...
@@ -14,10 +14,10 @@
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do
*
so, provided that (a) the above copyright notice(s) and this permission
*
notice appear with all copies of the Data Files or Software, (b) both th
e
*
above
copyright notice(s) and this permission notice appear in associated
* to permit persons to whom the Data Files or Software are furnished to do
so,
*
provided that (a) the above copyright notice(s) and this permission notice
*
appear with all copies of the Data Files or Software, (b) both the abov
e
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
...
...
@@ -27,19 +27,17 @@
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
*
USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
*
PERFORMANCE
OF THE DATA FILES OR SOFTWARE.
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written
*
authorization
of the copyright holder.
* dealings in these Data Files or Software without prior written
authorization
* of the copyright holder.
*/
// Generated automatically from the Common Locale Data Repository. DO NOT EDIT!
package
sun.text.resources.mt
;
import
java.util.ListResourceBundle
;
...
...
@@ -169,6 +167,22 @@ public class FormatData_mt extends ListResourceBundle {
"{1} {0}"
,
}
},
{
"calendarname.islamic-civil"
,
"Kalendarju Islamiku-\u010aivili"
},
{
"calendarname.islamicc"
,
"Kalendarju Islamiku-\u010aivili"
},
{
"calendarname.islamic"
,
"Kalendarju Islamiku"
},
{
"calendarname.buddhist"
,
"Kalendarju Buddist"
},
{
"calendarname.japanese"
,
"Kalendarju \u0120appuni\u017c"
},
{
"calendarname.gregorian"
,
"Kalendarju Gregorjan"
},
{
"calendarname.gregory"
,
"Kalendarju Gregorjan"
},
{
"field.era"
,
"Epoka"
},
{
"field.year"
,
"Sena"
},
{
"field.month"
,
"Xahar"
},
{
"field.week"
,
"\u0120img\u0127a"
},
{
"field.weekday"
,
"Jum tal-\u0120img\u0127a"
},
{
"field.hour"
,
"Sieg\u0127a"
},
{
"field.minute"
,
"Minuta"
},
{
"field.second"
,
"Sekonda"
},
{
"field.zone"
,
"\u017bona"
},
};
}
}
src/share/classes/sun/text/resources/nl/FormatData_nl.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.nl
;
import
java.util.ListResourceBundle
;
...
...
@@ -158,6 +194,111 @@ public class FormatData_nl extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"d MMMM y G"
,
"d MMM y G"
,
"dd-MM-yy G"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"d MMMM y G"
,
"d MMM y G"
,
"dd-MM-yy GGGGG"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"d MMMM y G"
,
"d MMM y G"
,
"dd-MM-yy GGGGG"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y GGGG"
,
"d MMMM y GGGG"
,
"d MMM y GGGG"
,
"dd-MM-yy G"
,
}
},
{
"islamic.MonthNames"
,
new
String
[]
{
"Moeharram"
,
"Safar"
,
"Rabi\u02bba al awal"
,
"Rabi\u02bba al thani"
,
"Joemad\u02bbal awal"
,
"Joemad\u02bbal thani"
,
"Rajab"
,
"Sja\u02bbaban"
,
"Ramadan"
,
"Sjawal"
,
"Doe al ka\u02bbaba"
,
"Doe al hizja"
,
""
,
}
},
{
"islamic.MonthAbbreviations"
,
new
String
[]
{
"Moeh."
,
"Saf."
,
"Rab. I"
,
"Rab. II"
,
"Joem. I"
,
"Joem. II"
,
"Raj."
,
"Sja."
,
"Ram."
,
"Sjaw."
,
"Doe al k."
,
"Doe al h."
,
""
,
}
},
{
"islamic.Eras"
,
new
String
[]
{
""
,
"Sa\u02bbna Hizjria"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y G"
,
"d MMMM y G"
,
"d MMM y G"
,
"dd-MM-yy G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE d MMMM y GGGG"
,
"d MMMM y GGGG"
,
"d MMM y GGGG"
,
"dd-MM-yy GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"Islamitische kalender (cyclisch)"
},
{
"calendarname.islamicc"
,
"Islamitische kalender (cyclisch)"
},
{
"calendarname.roc"
,
"Kalender van de Chinese Republiek"
},
{
"calendarname.islamic"
,
"Islamitische kalender"
},
{
"calendarname.buddhist"
,
"Boeddhistische kalender"
},
{
"calendarname.japanese"
,
"Japanse kalender"
},
{
"calendarname.gregorian"
,
"Gregoriaanse kalender"
},
{
"calendarname.gregory"
,
"Gregoriaanse kalender"
},
{
"field.era"
,
"Tijdperk"
},
{
"field.year"
,
"Jaar"
},
{
"field.month"
,
"Maand"
},
{
"field.weekday"
,
"Dag van de week"
},
{
"field.dayperiod"
,
"AM/PM"
},
{
"field.hour"
,
"Uur"
},
{
"field.minute"
,
"Minuut"
},
{
"field.second"
,
"Seconde"
},
{
"field.zone"
,
"Zone"
},
};
}
}
src/share/classes/sun/text/resources/pl/FormatData_pl.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.pl
;
import
java.util.ListResourceBundle
;
...
...
@@ -175,6 +211,71 @@ public class FormatData_pl extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE, G y MMMM dd"
,
"G y MMMM d"
,
"d MMM y G"
,
"dd.MM.yyyy G"
,
}
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y G"
,
"d MMMM, y G"
,
"d MMM y G"
,
"dd.MM.yyyy G"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y G"
,
"d MMMM, y G"
,
"d MMM y G"
,
"dd.MM.yyyy G"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y GGGG"
,
"d MMMM, y GGGG"
,
"d MMM y GGGG"
,
"dd.MM.yyyy GGGG"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y G"
,
"d MMMM, y G"
,
"d MMM y G"
,
"dd.MM.yyyy G"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE, d MMMM, y GGGG"
,
"d MMMM, y GGGG"
,
"d MMM y GGGG"
,
"dd.MM.yyyy GGGG"
,
}
},
{
"calendarname.islamic-civil"
,
"kalendarz islamski (metoda obliczeniowa)"
},
{
"calendarname.islamicc"
,
"kalendarz islamski (metoda obliczeniowa)"
},
{
"calendarname.islamic"
,
"kalendarz islamski (metoda wzrokowa)"
},
{
"calendarname.japanese"
,
"kalendarz japo\u0144ski"
},
{
"calendarname.gregorian"
,
"kalendarz gregoria\u0144ski"
},
{
"calendarname.gregory"
,
"kalendarz gregoria\u0144ski"
},
{
"calendarname.roc"
,
"kalendarz Republiki Chi\u0144skiej"
},
{
"calendarname.buddhist"
,
"kalendarz buddyjski"
},
{
"field.era"
,
"Era"
},
{
"field.year"
,
"Rok"
},
{
"field.month"
,
"Miesi\u0105c"
},
{
"field.week"
,
"Tydzie\u0144"
},
{
"field.weekday"
,
"Dzie\u0144 tygodnia"
},
{
"field.hour"
,
"Godzina"
},
{
"field.minute"
,
"Minuta"
},
{
"field.second"
,
"Sekunda"
},
{
"field.zone"
,
"Strefa"
},
};
}
}
src/share/classes/sun/text/resources/pt/FormatData_pt.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1996, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.pt
;
import
java.util.ListResourceBundle
;
...
...
@@ -152,6 +188,64 @@ public class FormatData_pt extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GyMdkHmsSEDFwWahKzZ"
},
{
"cldr.japanese.DatePatterns"
,
new
String
[]
{
"EEEE, G y MMMM dd"
,
"G y MMMM d"
,
"G y MMM d"
,
"d/M/yy"
,
}
},
{
"cldr.roc.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y G"
,
"d 'de' MMMM 'de' y G"
,
"dd/MM/yyyy G"
,
"d/M/yyyy"
,
}
},
{
"roc.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y GGGG"
,
"d 'de' MMMM 'de' y GGGG"
,
"dd/MM/yyyy GGGG"
,
"d/M/yyyy"
,
}
},
{
"cldr.islamic.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y G"
,
"d 'de' MMMM 'de' y G"
,
"dd/MM/yyyy G"
,
"d/M/yyyy"
,
}
},
{
"islamic.DatePatterns"
,
new
String
[]
{
"EEEE, d 'de' MMMM 'de' y GGGG"
,
"d 'de' MMMM 'de' y GGGG"
,
"dd/MM/yyyy GGGG"
,
"d/M/yyyy"
,
}
},
{
"calendarname.islamic-civil"
,
"Calend\u00e1rio Civil Isl\u00e2mico"
},
{
"calendarname.islamicc"
,
"Calend\u00e1rio Civil Isl\u00e2mico"
},
{
"calendarname.islamic"
,
"Calend\u00e1rio Isl\u00e2mico"
},
{
"calendarname.japanese"
,
"Calend\u00e1rio Japon\u00eas"
},
{
"calendarname.gregorian"
,
"Calend\u00e1rio Gregoriano"
},
{
"calendarname.gregory"
,
"Calend\u00e1rio Gregoriano"
},
{
"calendarname.roc"
,
"Calend\u00e1rio da Rep\u00fablica da China"
},
{
"calendarname.buddhist"
,
"Calend\u00e1rio Budista"
},
{
"field.era"
,
"Era"
},
{
"field.year"
,
"Ano"
},
{
"field.month"
,
"M\u00eas"
},
{
"field.week"
,
"Semana"
},
{
"field.weekday"
,
"Dia da semana"
},
{
"field.dayperiod"
,
"Per\u00edodo do dia"
},
{
"field.hour"
,
"Hora"
},
{
"field.minute"
,
"Minuto"
},
{
"field.second"
,
"Segundo"
},
{
"field.zone"
,
"Fuso"
},
};
}
}
src/share/classes/sun/text/resources/ro/FormatData_ro.java
浏览文件 @
cb5188a2
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,6 +38,42 @@
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package
sun.text.resources.ro
;
import
java.util.ListResourceBundle
;
...
...
@@ -187,6 +223,32 @@ public class FormatData_ro extends ListResourceBundle {
}
},
{
"DateTimePatternChars"
,
"GanjkHmsSEDFwWxhKzZ"
},
{
"cldr.buddhist.DatePatterns"
,
new
String
[]
{
"EEEE, G y MMMM dd"
,
"d MMMM y G"
,
"d MMM y G"
,
"d/M/yyyy"
,
}
},
{
"calendarname.islamic-civil"
,
"calendar islamic civil"
},
{
"calendarname.islamicc"
,
"calendar islamic civil"
},
{
"calendarname.roc"
,
"calendar al Republicii Chineze"
},
{
"calendarname.islamic"
,
"calendar islamic"
},
{
"calendarname.buddhist"
,
"calendar budist"
},
{
"calendarname.japanese"
,
"calendar japonez"
},
{
"calendarname.gregorian"
,
"calendar gregorian"
},
{
"calendarname.gregory"
,
"calendar gregorian"
},
{
"field.era"
,
"er\u0103"
},
{
"field.year"
,
"an"
},
{
"field.month"
,
"lun\u0103"
},
{
"field.week"
,
"s\u0103pt\u0103m\u00e2n\u0103"
},
{
"field.weekday"
,
"zi a s\u0103pt\u0103m\u00e2nii"
},
{
"field.dayperiod"
,
"perioada zilei"
},
{
"field.hour"
,
"or\u0103"
},
{
"field.minute"
,
"minut"
},
{
"field.second"
,
"secund\u0103"
},
{
"field.zone"
,
"zon\u0103"
},
};
}
}
src/share/classes/sun/text/resources/ru/FormatData_ru.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/sk/FormatData_sk.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/sl/FormatData_sl.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/sr/FormatData_sr.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/sv/FormatData_sv.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/th/FormatData_th.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/tr/FormatData_tr.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/uk/FormatData_uk.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/vi/FormatData_vi.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/zh/FormatData_zh.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/text/resources/zh/FormatData_zh_TW.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/util/locale/provider/CalendarDataUtility.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/util/locale/provider/CalendarNameProviderImpl.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
src/share/classes/sun/util/locale/provider/LocaleResources.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
test/java/util/Calendar/CldrFormatNamesTest.java
0 → 100644
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
test/java/util/concurrent/atomic/DoubleAdderDemo.java
0 → 100644
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
test/java/util/concurrent/atomic/LongAdderDemo.java
0 → 100644
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
test/sun/security/tools/policytool/UpdatePermissions.html
浏览文件 @
cb5188a2
...
...
@@ -42,7 +42,7 @@ and click "OK".<br><br>
setSecurityManager,
shutdownHooks,
stopThread
<br>
SecurityPermission:
printIdentity
<br><br>
SecurityPermission:
createAccessControlContext
<br><br>
In the confirmation dialog pop-up, click "OK".
<br><br>
...
...
test/sun/text/resources/LocaleData
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
test/sun/text/resources/LocaleDataTest.java
浏览文件 @
cb5188a2
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录