shuoHigh static method

double shuoHigh(
  1. double w
)

Implementation

static double shuoHigh(double w) {
  double t = msaLonT2(w) * 36525;
  t = t - dtT(t) + ONE_THIRD;
  double v = ((t + 0.5) % 1) * SECOND_PER_DAY;
  if (v < 1800 || v > SECOND_PER_DAY - 1800) {
    t = msaLonT(w) * 36525 - dtT(t) + ONE_THIRD;
  }
  return t;
}