lastDayOfFortnight property
Returns the last day of the fortnight.
Implementation
date get lastDayOfFortnight => day <= 15 ? date(year, month, 15) : lastDayOfMonth;
Returns the last day of the fortnight.
date get lastDayOfFortnight => day <= 15 ? date(year, month, 15) : lastDayOfMonth;