package org.helioviewer.base.physics;

public class Constants {
	
	//global units in solar radii
    public static final double SunRadius = 1;
    
    public static final double SunRadiusInMeter = 6.96e8;

    public static final double SunDiameter = 2 * SunRadius;
    
    public static final double SunMeanDistanceToEarth = 149597870700.0;

    public static final double SunRadius2 = Constants.SunRadius * Constants.SunRadius;

}
package org.helioviewer.base.physics;

public class Constants {
	
	//global units in solar radii
    public static final double SunRadius = 1;
    
    public static final double SunRadiusInMeter = 6.96e8;

    public static final double SunDiameter = 2 * SunRadius;
    
    public static final double SunMeanDistanceToEarth = 149597870700.0;

    public static final double SunRadius2 = Constants.SunRadius * Constants.SunRadius;

    
    //1 jan 2000 in seconds since 1970 (as computed by java)
    public static final long referenceDate = 949363201;
}
Set reference date