Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Commit

Permalink
Remove previous time-scale code
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Jun 20, 2010
1 parent efa1e64 commit f5d3263
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
3 changes: 1 addition & 2 deletions src/main/java/javax/time/SystemUTCRules.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import java.util.concurrent.atomic.AtomicReference;

import javax.time.calendar.LocalDate;
import javax.time.scales.LeapSeconds;

/**
* System default UTC rules.
Expand Down Expand Up @@ -194,7 +193,7 @@ protected UTCInstant convertToUTC(TAIInstant taiInstant) {
* @return an array of two arrays - leap seconds dates and amounts
*/
private static Data loadLeapSeconds() {
InputStream in = LeapSeconds.class.getResourceAsStream("/javax/time/LeapSeconds.txt");
InputStream in = SystemUTCRules.class.getResourceAsStream("/javax/time/LeapSeconds.txt");
if (in == null) {
throw new CalendricalException("LeapSeconds.txt resource missing");
}
Expand Down
11 changes: 0 additions & 11 deletions src/test/java/javax/time/AllTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@
import javax.time.calendar.zone.TestZoneOffsetTransitionRule;
import javax.time.calendar.zone.TestZoneRulesBuilder;
import javax.time.calendar.zone.TestZoneRulesGroup;
import javax.time.scales.TestEarlyUTC_TAI;
import javax.time.scales.TestLeapSeconds;
import javax.time.scales.TestTAI;
import javax.time.scales.TestTrueUTC;
import javax.time.scales.TestUTC;

import org.testng.ITestResult;
import org.testng.TestListenerAdapter;
Expand Down Expand Up @@ -219,12 +214,6 @@ public static void main(String[] args) {
TestZoneOffsetTransitionRule.class,
TestZoneRulesBuilder.class,
TestZoneRulesGroup.class,
// scales
TestEarlyUTC_TAI.class,
TestLeapSeconds.class,
TestTAI.class,
TestTrueUTC.class,
TestUTC.class,
});
// testng.addListener(new DotTestListener());
// testng.addListener(new TextReporter("All", 2));
Expand Down

0 comments on commit f5d3263

Please sign in to comment.