Examples of JulianEraCalc


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

*/
public final class JulianEraCalcTest extends EraCalcTest {

  @Override
  protected EraCalc getEraCalc() {
    return new JulianEraCalc();
  }
View Full Code Here

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

  protected boolean isLeapYear(int year) {
    return MathUtil.mod(year, 4) == 0;
  }

  public void testAssignYearField() {
    JulianEraCalc eraCalc = new JulianEraCalc();
    testAssignYearField(eraCalc, -15000, 1581);
   
    // Test some really old dates
    int[] yearStarts =
        {-50000, -100000, -200000, -500000, -600000, -800000, -900000, -1000000, -1500000};
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.