firstDayOfFortnight property

date get firstDayOfFortnight

Returns the first day of the fortnight.

Implementation

date get firstDayOfFortnight => day <= 15 ? firstDayOfMonth : date(year, month, 16);