Skip to content

Commit

Permalink
Separate GwtTime and TZDB loader
Browse files Browse the repository at this point in the history
  • Loading branch information
foal committed Dec 10, 2020
1 parent f73a989 commit f9c9d97
Show file tree
Hide file tree
Showing 73 changed files with 151 additions and 147 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.DateTimeException;
import java.time.temporal.TemporalAccessor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import org.jresearch.threetenbp.gwt.time.client.Support;

Expand All @@ -44,7 +44,7 @@ public abstract class AbstractTest extends GWTTestCase {

@Override
public String getModuleName() {
return "org.jresearch.threetenbp.gwt.module";
return "org.jresearch.threetenbp.gwt.time.module";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.util.Locale;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import org.junit.Test;
import org.slf4j.Logger;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import org.jresearch.threetenbp.gwt.client.chrono.TestChronoLocalDate;
import org.jresearch.threetenbp.gwt.client.chrono.TestChronoLocalDateTime;
import org.jresearch.threetenbp.gwt.client.chrono.TestChronoZonedDateTime;
import org.jresearch.threetenbp.gwt.client.chrono.TestHijrahChronology;
import org.jresearch.threetenbp.gwt.client.chrono.TestIsoChronology;
import org.jresearch.threetenbp.gwt.client.chrono.TestJapaneseChronology;
import org.jresearch.threetenbp.gwt.client.chrono.TestMinguoChronology;
import org.jresearch.threetenbp.gwt.client.chrono.TestThaiBuddhistChronology;
import org.jresearch.threetenbp.gwt.client.format.TestDateTimeFormatter;
import org.jresearch.threetenbp.gwt.client.format.TestDateTimeFormatterBuilder;
import org.jresearch.threetenbp.gwt.client.format.TestDateTimeTextPrinting;
import org.jresearch.threetenbp.gwt.client.format.TestDecimalStyle;
import org.jresearch.threetenbp.gwt.client.temporal.TestChronoField;
import org.jresearch.threetenbp.gwt.client.temporal.TestChronoUnit;
import org.jresearch.threetenbp.gwt.client.temporal.TestIsoFields;
import org.jresearch.threetenbp.gwt.client.temporal.TestJulianFields;
import org.jresearch.threetenbp.gwt.client.temporal.TestMonthDay;
import org.jresearch.threetenbp.gwt.client.temporal.TestTemporalAdjusters;
import org.jresearch.threetenbp.gwt.client.temporal.TestValueRange;
import org.jresearch.threetenbp.gwt.client.temporal.TestYearMonth;
import org.jresearch.threetenbp.gwt.client.zone.TestFixedZoneRules;
import org.jresearch.threetenbp.gwt.client.zone.TestZoneOffsetTransition;
import org.jresearch.threetenbp.gwt.client.zone.TestZoneOffsetTransitionRule;
import org.jresearch.threetenbp.gwt.client.zone.TestZoneRulesBuilder;
import org.jresearch.threetenbp.gwt.time.client.chrono.TestChronoLocalDate;
import org.jresearch.threetenbp.gwt.time.client.chrono.TestChronoLocalDateTime;
import org.jresearch.threetenbp.gwt.time.client.chrono.TestChronoZonedDateTime;
import org.jresearch.threetenbp.gwt.time.client.chrono.TestHijrahChronology;
import org.jresearch.threetenbp.gwt.time.client.chrono.TestIsoChronology;
import org.jresearch.threetenbp.gwt.time.client.chrono.TestJapaneseChronology;
import org.jresearch.threetenbp.gwt.time.client.chrono.TestMinguoChronology;
import org.jresearch.threetenbp.gwt.time.client.chrono.TestThaiBuddhistChronology;
import org.jresearch.threetenbp.gwt.time.client.format.TestDateTimeFormatter;
import org.jresearch.threetenbp.gwt.time.client.format.TestDateTimeFormatterBuilder;
import org.jresearch.threetenbp.gwt.time.client.format.TestDateTimeTextPrinting;
import org.jresearch.threetenbp.gwt.time.client.format.TestDecimalStyle;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestChronoField;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestChronoUnit;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestIsoFields;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestJulianFields;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestMonthDay;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestTemporalAdjusters;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestValueRange;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestYearMonth;
import org.jresearch.threetenbp.gwt.time.client.zone.TestFixedZoneRules;
import org.jresearch.threetenbp.gwt.time.client.zone.TestZoneOffsetTransition;
import org.jresearch.threetenbp.gwt.time.client.zone.TestZoneOffsetTransitionRule;
import org.jresearch.threetenbp.gwt.time.client.zone.TestZoneRulesBuilder;

import com.google.gwt.junit.tools.GWTTestSuite;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.temporal.ChronoUnit.DAYS;
import static java.time.temporal.ChronoUnit.FOREVER;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.Clock;
import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.Clock;
import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.Clock;
import java.time.Duration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.Clock;
import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.Clock;
import java.time.Duration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;


import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.DayOfWeek.MONDAY;
import static java.time.DayOfWeek.SUNDAY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.temporal.ChronoUnit.DAYS;
import static java.time.temporal.ChronoUnit.HALF_DAYS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.temporal.ChronoField.INSTANT_SECONDS;
import static java.time.temporal.ChronoField.MICRO_OF_SECOND;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH;
import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_MONTH;
Expand Down Expand Up @@ -79,7 +79,7 @@
import java.util.Arrays;
import java.util.List;

import org.jresearch.threetenbp.gwt.client.temporal.MockFieldNoValue;
import org.jresearch.threetenbp.gwt.time.client.temporal.MockFieldNoValue;
import org.junit.Test;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH;
import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR;
Expand Down Expand Up @@ -97,7 +97,7 @@
import java.util.Iterator;
import java.util.List;

import org.jresearch.threetenbp.gwt.client.temporal.MockFieldNoValue;
import org.jresearch.threetenbp.gwt.time.client.temporal.MockFieldNoValue;
import org.junit.Test;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.Month.DECEMBER;
import static java.time.Month.JANUARY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.Month.DECEMBER;
import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.DateTimeException;
import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.temporal.ChronoField.AMPM_OF_DAY;
import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.LocalDate;
import java.time.Period;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import java.time.DateTimeException;
import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.temporal.ChronoField.OFFSET_SECONDS;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.jresearch.threetenbp.gwt.client;
package org.jresearch.threetenbp.gwt.time.client;

import static java.time.Month.JANUARY;
import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH;
Expand Down Expand Up @@ -95,7 +95,7 @@
import java.util.Arrays;
import java.util.List;

import org.jresearch.threetenbp.gwt.client.temporal.MockFieldNoValue;
import org.jresearch.threetenbp.gwt.time.client.temporal.MockFieldNoValue;
import org.junit.Test;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.jresearch.threetenbp.gwt.client.browser;
package org.jresearch.threetenbp.gwt.time.client.browser;

import org.jresearch.threetenbp.gwt.client.format.TestDateTimeTextPrinting;
import org.jresearch.threetenbp.gwt.time.client.format.TestDateTimeTextPrinting;

public class BrowserTestDateTimeTextPrinting extends TestDateTimeTextPrinting {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.jresearch.threetenbp.gwt.client.browser;
package org.jresearch.threetenbp.gwt.time.client.browser;

import org.jresearch.threetenbp.gwt.client.format.TestDecimalStyle;
import org.jresearch.threetenbp.gwt.time.client.format.TestDecimalStyle;

public class BrowserTestDecimalStyle extends TestDecimalStyle {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.jresearch.threetenbp.gwt.time.client.browser;

import org.jresearch.threetenbp.gwt.time.client.temporal.TestIsoFields;

public class BrowserTestIsoFields extends TestIsoFields {

public void test_loop() {
super.long_test_loop();
}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.jresearch.threetenbp.gwt.client.browser;
package org.jresearch.threetenbp.gwt.time.client.browser;

import org.jresearch.threetenbp.gwt.client.TestOffsetDateTime_instants;
import org.jresearch.threetenbp.gwt.time.client.TestOffsetDateTime_instants;

public class BrowserTestOffsetDateTime_instants extends TestOffsetDateTime_instants {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.jresearch.threetenbp.gwt.client.browser;
package org.jresearch.threetenbp.gwt.time.client.browser;

import org.jresearch.threetenbp.gwt.client.TestOffsetTime;
import org.jresearch.threetenbp.gwt.time.client.TestOffsetTime;

public class BrowserTestOffsetTime extends TestOffsetTime {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jresearch.threetenbp.gwt.client.browser;
package org.jresearch.threetenbp.gwt.time.client.browser;

import com.google.gwt.junit.tools.GWTTestSuite;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.jresearch.threetenbp.gwt.client.browser;
package org.jresearch.threetenbp.gwt.time.client.browser;

import org.jresearch.threetenbp.gwt.client.temporal.TestYear;
import org.jresearch.threetenbp.gwt.time.client.temporal.TestYear;

public class BrowserTestYear extends TestYear {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.jresearch.threetenbp.gwt.client.browser;
package org.jresearch.threetenbp.gwt.time.client.browser;

import org.jresearch.threetenbp.gwt.client.TestZoneOffset;
import org.jresearch.threetenbp.gwt.time.client.TestZoneOffset;

public class BrowserTestZoneOffset extends TestZoneOffset {

Expand Down
Loading

0 comments on commit f9c9d97

Please sign in to comment.