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
@ -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…
Reference in New Issue
Block a user