julianCycle function

num julianCycle(
  1. dynamic d,
  2. dynamic lw
)

Implementation

num julianCycle(d, lw) {
  return (d - j0 - lw / (2 * pi)).round();
}