Adjusts dates which fall on a Saturday to the preceding Friday, and those falling on a Sunday to the following Monday. This convention is used by some national holidays, for example Christmas Day in the USA.
privatestaticWeekend ( Calendarcalendar, Datedate ) : Date