ICU-4383 support for Ethiopic and Coptic Calendars
X-SVN-Rev: 17872
This commit is contained in:
parent
a4792b7bb6
commit
f8e9992627
@ -145,5 +145,14 @@ public final class CopticCalendar extends CECalendar
|
||||
public static Integer[] getDateFromJD(int julianDay) {
|
||||
return getDateFromJD(julianDay, JD_EPOCH_OFFSET);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the current Calendar type.
|
||||
* @return type of calendar (gregorian, etc.)
|
||||
* @internal ICU 3.4
|
||||
*/
|
||||
public String getType() {
|
||||
return "coptic";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -164,5 +164,14 @@ public final class EthiopicCalendar extends CECalendar
|
||||
public boolean isAmeteAlemEra() {
|
||||
return this.jdEpochOffset == JD_EPOCH_OFFSET_AMETE_ALEM;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the current Calendar type.
|
||||
* @return type of calendar (gregorian, etc.)
|
||||
* @internal ICU 3.4
|
||||
*/
|
||||
public String getType() {
|
||||
return "ethiopic";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user