getSpacingForFirstDayOfMonth static method
Implementation
static int? getSpacingForFirstDayOfMonth(String day) {
switch (day.toLowerCase()) {
case "mon":
{
return 0;
}
case "tue":
{
return 1;
}
case "wed":
{
return 2;
}
case "thu":
{
return 3;
}
case "fri":
{
return 4;
}
case "sat":
{
return 5;
}
case "sun":
{
return 6;
}
}
return null;
}