void SetValues(YearlySpecificDatePartOne customDateFirstPart, YearlySpecificDatePartTwo customDateSecondPart, YearlySpecificDatePartThree customDateThirdPart) { specificDatePartOne = customDateFirstPart; specificDatePartTwo = customDateSecondPart; specificDatePartThree = customDateThirdPart; regenType = YearlyRegenType.OnCustomDateFormat; }
/// <summary> /// Get dates for a specific day and month of the year. /// </summary> /// <param name="specificDateDayValue">Day of the month.</param> /// <param name="specificDateMonthValue">Month of the year.</param> /// <returns></returns> public RecurrenceValues GetValues(int specificDateDayValue, int specificDateMonthValue) { regenerateOnSpecificDateDayValue = specificDateDayValue; regenerateOnSpecificDateMonthValue = specificDateMonthValue; regenType = YearlyRegenType.OnSpecificDayOfYear; return(GetValues()); }
void SetValues(int specificDateDayValue, int specificDateMonthValue, int regenEveryXYears) { this.regenEveryXYears = regenEveryXYears; regenerateOnSpecificDateDayValue = specificDateDayValue; regenerateOnSpecificDateMonthValue = specificDateMonthValue; regenType = YearlyRegenType.OnSpecificDayOfYear; }
/// <summary> /// Get dates for a custom formatted date such as First weekend day of July. /// </summary> /// <param name="customDateFirstPart"></param> /// <param name="customDateSecondPart"></param> /// <param name="customDateThirdPart"></param> /// <returns></returns> public RecurrenceValues GetValues(YearlySpecificDatePartOne customDateFirstPart, YearlySpecificDatePartTwo customDateSecondPart, YearlySpecificDatePartThree customDateThirdPart) { specificDatePartOne = customDateFirstPart; specificDatePartTwo = customDateSecondPart; specificDatePartThree = customDateThirdPart; regenType = YearlyRegenType.OnCustomDateFormat; return(GetValues()); }
/// <summary> /// Get dates for a specific day and month of the year. /// </summary> /// <param name="specificDateDayValue">Day of the month.</param> /// <param name="specificDateMonthValue">Month of the year.</param> /// <returns></returns> public RecurrenceValues GetValues(int specificDateDayValue, int specificDateMonthValue, int regenEveryXYears) { this.regenEveryXYears = regenEveryXYears; regenerateOnSpecificDateDayValue = specificDateDayValue; regenerateOnSpecificDateMonthValue = specificDateMonthValue; regenType = YearlyRegenType.OnSpecificDayOfYear; return(GetValues()); }
void SetValues(YearlySpecificDatePartOne customDateFirstPart, YearlySpecificDatePartTwo customDateSecondPart, YearlySpecificDatePartThree customDateThirdPart, int regenEveryXYears) { this.regenEveryXYears = regenEveryXYears; specificDatePartOne = customDateFirstPart; specificDatePartTwo = customDateSecondPart; specificDatePartThree = customDateThirdPart; regenType = YearlyRegenType.OnCustomDateFormat; }
void SetValues(int specificDateDayValue, int specificDateMonthValue) { regenerateOnSpecificDateDayValue = specificDateDayValue; regenerateOnSpecificDateMonthValue = specificDateMonthValue; regenType = YearlyRegenType.OnSpecificDayOfYear; }
internal void SetYearlyRegenType(YearlyRegenType yearlyRegenType) { this.yearlyRegenType = yearlyRegenType; }