Class Fixed

java.lang.Object
org.drip.analytics.eventday.Base
org.drip.analytics.eventday.Fixed

public class Fixed
extends Base
Fixed contains the fixed holiday’s date and month. Holidays are generated on a per-year basis by applying the year, and by adjusting the date generated.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    Fixed​(int iDay, int iMonth, Weekend wkend, java.lang.String strDescription)
    Construct the object from the day, month, weekend, and description
  • Method Summary

    Modifier and Type Method Description
    int dateInYear​(int iYear, boolean bAdjust)
    Generate the full date specific to the input year

    Methods inherited from class org.drip.analytics.eventday.Base

    description, rollHoliday

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Fixed

      public Fixed​(int iDay, int iMonth, Weekend wkend, java.lang.String strDescription)
      Construct the object from the day, month, weekend, and description
      Parameters:
      iDay - Day
      iMonth - Month
      wkend - Weekend Object
      strDescription - Description
  • Method Details

    • dateInYear

      public int dateInYear​(int iYear, boolean bAdjust)
      Description copied from class: Base
      Generate the full date specific to the input year
      Specified by:
      dateInYear in class Base
      Parameters:
      iYear - Input Year
      bAdjust - Whether adjustment is desired
      Returns:
      The full date