import { isLeap } from "https://deno.land/x/frugal@0.3.0/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