getDefault method

AstronomicalCalculator getDefault ()

Returns the default class for calculating sunrise and sunset. This is currently the {@link NOAACalculator}, but this may change.

@return AstronomicalCalculator the default class for calculating sunrise and sunset. In the current implementation the default calculator returned is the {@link NOAACalculator}.

Implementation

static AstronomicalCalculator getDefault() {
  return SunTimesCalculator();
}