Skip to content

Commit

Permalink
Include InvertTimeRange property in DailyCalendar.Clone (#1522)
Browse files Browse the repository at this point in the history
  • Loading branch information
qzavyer authored Feb 12, 2022
1 parent fe14b1f commit 6f2e18f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Quartz/Impl/Calendar/DailyCalendar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,10 @@ public override DateTimeOffset GetNextIncludedTimeUtc(DateTimeOffset timeUtc)

public override ICalendar Clone()
{
var clone = new DailyCalendar(CalendarBase, RangeStartingTime, RangeEndingTime);
var clone = new DailyCalendar(CalendarBase, RangeStartingTime, RangeEndingTime)
{
InvertTimeRange = InvertTimeRange
};
CloneFields(clone);
return clone;
}
Expand Down

0 comments on commit 6f2e18f

Please sign in to comment.