/libcore/ojluni/src/main/java/java/time/ |
D | ZoneRegion.java | 103 private final transient ZoneRules rules; field in ZoneRegion 117 ZoneRules rules = null; in ofId() local 120 rules = ZoneRulesProvider.getRules(zoneId, true); in ofId() 126 return new ZoneRegion(zoneId, rules); in ofId() 162 ZoneRegion(String id, ZoneRules rules) { in ZoneRegion() argument 164 this.rules = rules; in ZoneRegion() 177 return (rules != null ? rules : ZoneRulesProvider.getRules(id, false)); in getRules()
|
D | ZonedDateTime.java | 366 ZoneRules rules = zone.getRules(); in ofLocal() local 367 List<ZoneOffset> validOffsets = rules.getValidOffsets(localDateTime); in ofLocal() 372 ZoneOffsetTransition trans = rules.getTransition(localDateTime); in ofLocal() 447 ZoneRules rules = zone.getRules(); in create() local 449 ZoneOffset offset = rules.getOffset(instant); in create() 472 ZoneRules rules = zone.getRules(); in ofStrict() local 473 if (rules.isValidOffset(localDateTime, offset) == false) { in ofStrict() 474 ZoneOffsetTransition trans = rules.getTransition(localDateTime); in ofStrict()
|
D | ZoneId.java | 573 ZoneRules rules = getRules(); 574 if (rules.isFixedOffset()) { 575 return rules.getOffset(Instant.EPOCH);
|
/libcore/ojluni/src/main/java/java/util/ |
D | SimpleTimeZone.java | 1572 byte[] rules = new byte[6]; in packRules() 1573 rules[0] = (byte)startDay; in packRules() 1574 rules[1] = (byte)startDayOfWeek; in packRules() 1575 rules[2] = (byte)endDay; in packRules() 1576 rules[3] = (byte)endDayOfWeek; in packRules() 1579 rules[4] = (byte)startTimeMode; in packRules() 1580 rules[5] = (byte)endTimeMode; in packRules() 1582 return rules; in packRules() 1589 private void unpackRules(byte[] rules) in unpackRules() argument 1591 startDay = rules[0]; in unpackRules() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRulesProvider.java | 105 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); in test_getRules_StringBoolean() local 106 assertNotNull(rules); in test_getRules_StringBoolean() 108 assertEquals(rules2, rules); in test_getRules_StringBoolean() 142 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); in test_getVersions_String() local 143 assertEquals(versions.lastEntry().getValue(), rules); in test_getVersions_String() local 185 final ZoneRules rules = ZoneOffset.of("+01:45").getRules(); field in TCKZoneRulesProvider.MockTempProvider 193 result.put("BarVersion", rules); in provideVersions() 199 return rules; in provideRules()
|
D | TCKZoneRules.java | 370 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_getTransitionRules() local 371 assertEquals(rules.size(), 2); in test_London_getTransitionRules() 373 ZoneOffsetTransitionRule in = rules.get(0); in test_London_getTransitionRules() 384 ZoneOffsetTransitionRule out = rules.get(1); in test_London_getTransitionRules() 415 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_nextTransition_rulesBased() local 419 assertEquals(test.nextTransition(last.getInstant()), rules.get(0).createTransition(1998)); in test_London_nextTransition_rulesBased() 422 ZoneOffsetTransition a = rules.get(0).createTransition(year); in test_London_nextTransition_rulesBased() 423 ZoneOffsetTransition b = rules.get(1).createTransition(year); in test_London_nextTransition_rulesBased() 424 ZoneOffsetTransition c = rules.get(0).createTransition(year + 1); in test_London_nextTransition_rulesBased() 436 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_nextTransition_lastYear() local [all …]
|
/libcore/test-rules/src/main/java/libcore/junit/junit3/ |
D | TestCaseWithRules.java | 24 import org.junit.rules.MethodRule; 25 import org.junit.rules.TestRule; 32 import static org.junit.internal.runners.rules.RuleMemberValidator.RULE_VALIDATOR; 97 List<Object> rules = testClass.getAnnotatedFieldValues(this, Rule.class, Object.class); in runBare() local 98 for (Object rule : rules) { in runBare()
|
/libcore/ojluni/src/main/java/java/text/ |
D | RuleBasedCollator.java | 284 public RuleBasedCollator(String rules) throws ParseException { in RuleBasedCollator() argument 286 if (rules == null) { in RuleBasedCollator() 290 icuColl = new android.icu.text.RuleBasedCollator(rules); in RuleBasedCollator()
|
/libcore/test-rules/src/test/java/libcore/junit/util/ |
D | EnableDeprecatedBouncyCastleAlgorithmsRuleTest.java | 22 import org.junit.rules.RuleChain; 23 import org.junit.rules.TestRule;
|
D | SwitchTargetSdkVersionRuleTest.java | 25 import org.junit.rules.TestRule;
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 141 ZoneRules rules = zone.getRules(); in ofBest() local 143 List<ZoneOffset> validOffsets = rules.getValidOffsets(isoLDT); in ofBest() 148 ZoneOffsetTransition trans = rules.getTransition(isoLDT); in ofBest() 171 ZoneRules rules = zone.getRules(); in ofInstant() local 172 ZoneOffset offset = rules.getOffset(instant); in ofInstant()
|
/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | ResourceLeakageDetector.java | 24 import org.junit.rules.RuleChain; 25 import org.junit.rules.TestRule;
|
D | EnableDeprecatedBouncyCastleAlgorithmsRule.java | 24 import org.junit.rules.TestRule;
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | RetentionPolicyTest.java | 32 import org.junit.rules.TemporaryFolder; 33 import org.junit.rules.TestRule;
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | WeekFields.java | 316 WeekFields rules = CACHE.get(key); in of() local 317 if (rules == null) { in of() 318 rules = new WeekFields(firstDayOfWeek, minimalDaysInFirstWeek); in of() 319 CACHE.putIfAbsent(key, rules); in of() 320 rules = CACHE.get(key); in of() 322 return rules; in of()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 23 import org.junit.rules.TestRule;
|
D | MulticastSocketTest.java | 28 import org.junit.rules.TestRule;
|
D | ServerSocketTest.java | 27 import org.junit.rules.TestRule;
|
D | OldUnixSocketTest.java | 32 import org.junit.rules.TestRule;
|
/libcore/test-rules/src/test/java/libcore/junit/util/compat/ |
D | CoreCompatChangeRuleTest.java | 27 import org.junit.rules.TestRule;
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileOutputStreamTest.java | 25 import org.junit.rules.TestRule;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | GZIPOutputStreamTest.java | 29 import org.junit.rules.TestRule;
|
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 28 import org.junit.rules.TestRule;
|
/libcore/test-rules/src/platform_compat/java/libcore/junit/util/ |
D | CoreCompatChangeRule.java | 22 import org.junit.rules.TestRule;
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MacTest.java | 32 import org.junit.rules.TestRule;
|