PrevUpHomeNext

Struct us_federal_holiday_observance_adjustor

fd::gregorian::us_federal_holiday_observance_adjustor — Adjusts a date to the nearest weekday if the date falls on a weekend.

Synopsis

// In header: <fd/date_adjustors.h>


struct us_federal_holiday_observance_adjustor {

  // public member functions
  constexpr date adjust_as_needed(const date &) const;

  // public data members
  static constexpr weekdays weekendDay1;
  static constexpr weekdays weekendDay2;
};

Description

us_federal_holiday_observance_adjustor public member functions

  1. constexpr date adjust_as_needed(const date & current) const;

PrevUpHomeNext