Function startOfIsoWeek

get the first day of the isoWeek starting at midnight

T startOfIsoWeek(T) (
  T date
) @property @safe;

Sometimes we need to know the first day of an isoWeek, e.g. to calculate the duration from/to the beginning of a given isoWeek.

Param

date - either an Date, DateTime or any other type providing a 'isoWeek' property.

Returns

The starting day at midnight for the isoWeek specified by data