Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 25 of 75) sorted by relevance

123

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestExampleCode.java94 System.out.printf(" Today is %s %s %d-%s-%d%n", now1.getChronology().getId(), in test_chronoPackageExample()
101 System.out.printf(" %20s: %s%n", chrono.getId(), date.toString()); in test_chronoPackageExample()
111 System.out.printf(" %s: 1st of year: %s; end of year: %s%n", last.getChronology().getId(), in test_chronoPackageExample()
145 System.out.printf(" %20s: %s%n", chrono.getId(), date.toString()); in test_calendarPackageExample()
154 System.out.printf(" Today is %s %s %d-%s-%d%n", now1.getChronology().getId(), in test_calendarPackageExample()
164 System.out.printf(" %s: 1st of year: %s; end of year: %s%n", last.getChronology().getId(), in test_calendarPackageExample()
DTestServiceLoader.java85 chronos.put(chrono.getId(), chrono); in test_copticServiceLoader()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneId.java159 assertEquals(test.getId(), "Europe/London"); in test_of_string_Map()
168 assertEquals(test.getId(), "Europe/Madrid"); in test_of_string_Map_lookThrough()
175 assertEquals(test.getId(), "Europe/Madrid"); in test_of_string_Map_emptyMap()
232 assertEquals(test.getId(), id); in factory_of_String_offsetBasedValid_noPrefix()
280 assertEquals(test.getId(), "UTC" + id); in factory_of_String_offsetBasedValid_prefixUTC()
291 assertEquals(test.getId(), "GMT" + id); in factory_of_String_offsetBasedValid_prefixGMT()
302 assertEquals(test.getId(), "UT" + id); in factory_of_String_offsetBasedValid_prefixUT()
339 …assertEquals(zoneId.getId(), prefix + zoff.getId(), "in correct id for : " + prefix + ", zoff: " +… in test_prefixOfOffset()
399 assertEquals(test.getId(), input); in factory_of_String_offsetBasedValidOther()
485 assertEquals(test.getId(), "Europe/London"); in factory_of_String_region_EuropeLondon()
/libcore/ojluni/src/main/java/java/time/
DZoneId.java382 prefix = prefix.concat(offset.getId()); in ofOffset()
485 public abstract String getId(); in getId() method in ZoneId
599 return getId().equals(other.getId());
611 return getId().hashCode();
632 return getId();
DZoneRegion.java169 public String getId() { in getId() method in ZoneRegion
/libcore/luni/src/test/java/libcore/java/time/chrono/
DChronologyTest.java56 int idResult = c1.getId().compareTo(c2.getId()); in assertComparesAccordingToId()
85 public String getId() { in getId() method in ChronologyTest.FakeChronology
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriodImpl.java208 …eption("Chronology mismatch, expected: " + chrono.getId() + ", actual: " + period.getChronology(). in validateAmount()
314 …eException("Chronology mismatch, expected: " + chrono.getId() + ", actual: " + temporalChrono.getI… in validateChrono()
387 out.writeUTF(chrono.getId()); in writeExternal()
DAbstractChronology.java177 return registerChrono(chrono, chrono.getId()); in registerChrono()
229 String id = chrono.getId(); in initCache()
307 if (id.equals(chrono.getId()) || id.equals(chrono.getCalendarType())) { in of()
698 return getId().compareTo(other.getId()); in compareTo()
737 return getClass().hashCode() ^ getId().hashCode(); in hashCode()
748 return getId(); in toString()
777 out.writeUTF(getId()); in writeExternal()
DChronoLocalDateImpl.java164 …eption("Chronology mismatch, expected: " + chrono.getId() + ", actual: " + other.getChronology().g… in ensureValid()
DChronoZonedDateTime.java576 cmp = getZone().getId().compareTo(other.getZone().getId()); in compareTo()
/libcore/ojluni/src/main/java/java/security/cert/
DExtension.java73 String getId(); in getId() method
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKChronoPrinterParser.java124 assertEquals(pos.getIndex(), expected.getId().length()); in test_parseValid_caseSensitive()
142 assertEquals(pos.getIndex(), expected.getId().length()); in test_parseValid_caseInsensitive()
/libcore/luni/src/test/java/tests/security/cert/
DCertificateRevocationExceptionTest.java53 public String getId() { in getReasonExtension()
77 public String getId() {
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSession.java72 public byte[] getId(); in getId() method
/libcore/luni/src/test/java/libcore/java/security/cert/
DPKIXRevocationCheckerTest.java107 public String getId() { in test_getOcspExtensions()
117 assertEquals("TestExtension", checker.getOcspExtensions().get(0).getId()); in test_getOcspExtensions()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DUniqueIdentity.java58 public boolean[] getId() { in getId() method in UniqueIdentity
DExtension.java86 public java.lang.String getId() { in getId() method in Extension
/libcore/ojluni/src/main/java/sun/security/x509/
DUniqueIdentity.java111 public boolean[] getId() { in getId() method in UniqueIdentity
/libcore/support/src/test/java/libcore/javax/net/ssl/
DFakeSSLSession.java43 public byte[] getId() { in getId() method in FakeSSLSession
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKChronologySerialization.java108 dos.writeUTF(chrono.getId()); in test_serializationBytes()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeConstants.java198 public int getId() { in getId() method in DatatypeConstants.Field
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKThaiBuddhistChronology.java119 Assert.assertEquals(test.getId(), "ThaiBuddhist", "ID mismatch"); in test_chrono_byName()
130 Assert.assertEquals(test.getId(), "ThaiBuddhist"); in test_chrono_byLocale_fullTag_thaiCalendarFromThai()
137 Assert.assertEquals(test.getId(), "ThaiBuddhist"); in test_chrono_byLocale_fullTag_thaiCalendarFromElsewhere()
144 Assert.assertEquals(test.getId(), "ISO"); in test_chrono_byLocale_oldTH_noVariant()
151 Assert.assertEquals(test.getId(), "ISO"); in test_chrono_byLocale_oldTH_variant()
157 Assert.assertEquals(Chronology.ofLocale(new Locale("th", "TH")).getId(), "ISO"); in test_chrono_byLocale_iso()
158 Assert.assertEquals(Chronology.ofLocale(Locale.forLanguageTag("th-TH")).getId(), "ISO"); in test_chrono_byLocale_iso()
159 Assert.assertEquals(Chronology.ofLocale(Locale.forLanguageTag("th-TH-TH")).getId(), "ISO"); in test_chrono_byLocale_iso()
239 …assertEquals(ThaiBuddhistChronology.INSTANCE.dateNow(ZoneId.of(ZoneOffset.UTC.getId())), ThaiBuddh… in test_dateNow()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionBindingEventTest.java112 public byte[] getId() { in getId() method in MySSLSession
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DOCSPRequest.java121 if (ext.getId().equals(OCSP.NONCE_EXTENSION_OID.toString())) { in encodeBytes()
/libcore/ojluni/annotations/hiddenapi/java/time/
DZoneId.java109 public abstract java.lang.String getId(); in getId() method in ZoneId

123