mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-10249 Implement new Islamic calendar variants tbla, rgsa (fix for broken test)
X-SVN-Rev: 34178
This commit is contained in:
parent
6fdda37087
commit
d5f385d4e5
1 changed files with 4 additions and 2 deletions
|
@ -868,8 +868,10 @@ public class IslamicCalendar extends Calendar {
|
|||
setType(CalculationType.ISLAMIC_UMALQURA);
|
||||
else if("islamic-tbla".equals(localeCalType))
|
||||
setType(CalculationType.ISLAMIC_TBLA);
|
||||
else
|
||||
setType(CalculationType.ISLAMIC); // needs to be last so it's always the default
|
||||
else if(localeCalType.startsWith("islamic"))
|
||||
setType(CalculationType.ISLAMIC); // needs to be last so it's always the default if it's islamic-something-unhandled
|
||||
else
|
||||
setType(CalculationType.ISLAMIC_CIVIL); // default for any non-islamic calendar locale
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue