HomeSort by relevance Sort by last modified time
    Searched defs:HijrahChronology (Results 1 - 4 of 4) sorted by null

  /libcore/ojluni/src/test/java/time/tck/java/time/chrono/
TCKHijrahChronology.java 71 import java.time.chrono.HijrahChronology;
97 Chronology c = HijrahChronology.INSTANCE;
108 assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahDate.now()) ;
109 assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahDate.now(ZoneId.systemDefault())) ;
110 assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahDate.now(Clock.systemDefaultZone())) ;
111 assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahDate.now(Clock.systemDefaultZone().getZone())) ;
113 assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahChronology.INSTANCE.dateNow(ZoneId.systemDefault())) ;
114 assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahChronology.INSTANCE.dateNow(Clock.systemDefaultZone()))
    [all...]
TCKHijrahEra.java 64 import java.time.chrono.HijrahChronology;
89 assertEquals(HijrahChronology.INSTANCE.eraOf(eraValue), era);
99 List<Era> eraList = HijrahChronology.INSTANCE.eras();
  /libcore/ojluni/src/main/java/java/time/chrono/
HijrahChronology.java 93 * The HijrahChronology follows the rules of the Hijrah calendar system. The Hijrah
217 public final class HijrahChronology extends AbstractChronology implements Serializable {
236 public static final HijrahChronology INSTANCE;
309 INSTANCE = new HijrahChronology("Hijrah-umalqura");
323 * For each Hijrah variant listed, create the HijrahChronology and register it.
338 HijrahChronology chrono = new HijrahChronology(id);
350 * Create a HijrahChronology for the named variant.
359 private HijrahChronology(String id) throws DateTimeException {
379 * HijrahChronology via package private methods has been checked
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/chrono/
TestUmmAlQuraChronology.java 51 import java.time.chrono.HijrahChronology;
82 // Test for HijrahChronology Aliases
85 HijrahChronology hc = (HijrahChronology) Chronology.of("Hijrah");
86 assertEquals(hc, HijrahChronology.INSTANCE, "Alias for Hijrah-umalqura");
87 hc = (HijrahChronology) Chronology.of("islamic");
88 assertEquals(hc, HijrahChronology.INSTANCE, "Alias for Hijrah-umalqura");
119 // UmmAlQura chronology ranges for year, month and days for the HijrahChronology
122 HijrahChronology chrono = HijrahChronology.INSTANCE
    [all...]

Completed in 888 milliseconds