public static enum VariablePotentialCoefficientsSet.PeriodicComputationMethod extends Enum<VariablePotentialCoefficientsSet.PeriodicComputationMethod>
| Enum Constant and Description |
|---|
HOMOGENEOUS
This method does not depend on the leap years.
|
LEAP_YEAR
This method has the advantage to have a sin function to 0 (and a cosine function to 1) every 1st january.
|
| Modifier and Type | Method and Description |
|---|---|
abstract double |
computeElapsedPeriodic(AbsoluteDate date)
Compute the phase of the periodic function
|
boolean |
isLeapYear(int year)
Return if the year is a leap one or not
|
static VariablePotentialCoefficientsSet.PeriodicComputationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariablePotentialCoefficientsSet.PeriodicComputationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariablePotentialCoefficientsSet.PeriodicComputationMethod HOMOGENEOUS
public static final VariablePotentialCoefficientsSet.PeriodicComputationMethod LEAP_YEAR
public static VariablePotentialCoefficientsSet.PeriodicComputationMethod[] values()
for (VariablePotentialCoefficientsSet.PeriodicComputationMethod c : VariablePotentialCoefficientsSet.PeriodicComputationMethod.values()) System.out.println(c);
public static VariablePotentialCoefficientsSet.PeriodicComputationMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract double computeElapsedPeriodic(AbsoluteDate date)
date - initial datepublic boolean isLeapYear(int year)
year - year to be checked if it is a leap one or notCopyright © 2024 CNES. All rights reserved.