Package org.timepedia.chronoscope.client.util.date

Examples of org.timepedia.chronoscope.client.util.date.EraCalc


      testAssignYearField(eraCalc, i - 500, i + 500);
    }
  }

  public void testCalcDayOfWeek() {
    EraCalc eraCalc = getEraCalc();

    testCalcDayOfWeek(eraCalc, 800, 1581);
    testCalcDayOfWeek(eraCalc, -980, 20);
    testCalcDayOfWeek(eraCalc, -4850, -4730);
    testCalcDayOfWeek(eraCalc, -8000, -7950);
View Full Code Here


    testCalcDayOfWeek(eraCalc, -8000, -7950);
    testCalcDayOfWeek(eraCalc, -1000050, -999950);
  }

  public void testCalcWeekOfYear() {
    EraCalc eraCalc = getEraCalc();

    // TODO - test week of year for Julian
    // testCalcWeekOfYear(eraCalc);
  }
View Full Code Here

    // TODO - test week of year for Julian
    // testCalcWeekOfYear(eraCalc);
  }

  public void testCalcYearTimestamp() {
    EraCalc eraCalc = getEraCalc();
    testCalcYearTimestamp(eraCalc, -2000, 1581);
    testCalcYearTimestamp(eraCalc, -10500, -9500);
    testCalcYearTimestamp(eraCalc, -100500, -99500);
    testCalcYearTimestamp(eraCalc, -300000, -299000);
    testCalcYearTimestamp(eraCalc, -900000, -899000);
View Full Code Here

TOP

Related Classes of org.timepedia.chronoscope.client.util.date.EraCalc

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.