dayToInt function

int dayToInt(
  1. Day d
)

Implementation

int dayToInt(Day d) => d.toInt();