import { isLeap } from "https://deno.land/x/frugal@0.5.0/docs/dep/std/datetime.ts";
Check given year is a leap year or not. based on : https://docs.microsoft.com/en-us/office/troubleshoot/excel/determine-a-leap-year
Parameters
year: Date | number
year in number or Date format