last function

double last(
  1. double year
)

JDE of Last Quarter nearest the given decimal year.

Implementation

double last(double year) {
  final m = _Mp(year, 0.75);
  return _mean(m.t) + m._flc() - m._w() + m._a();
}