Returns the absl::CivilDay that strictly precedes a given absl::CivilDay, and that falls on the given absl::Weekday.

Synopsis

Declared in <absl/time/civil_time.h>

CivilDay
PrevWeekday(
    CivilDay cd,
    Weekday wd);

Return Value

The first civil day strictly before cd that falls on wd.

Parameters

Name

Description

cd

The civil day to start from.

wd

The weekday to look for.

Created with MrDocs