firstDayOffset function
Return the offset of the first day of the month.
year is the year of the month.
month is the month of the year.
Returns the offset of the first day of the month.
Implementation
int firstDayOffset(int year, int month) {
return NepaliDateTime(year, month).weekday - 1;
}