isLeap method

bool isLeap(
  1. LunarMonth m
)

检查是否是闰月

Implementation

bool isLeap(LunarMonth m) => m.getMonth() < 0;