/*
         * Adjustor        -   Before/After
         * Condition       -   First/Monday/January
         * Selector        -   First/Last/Skip/Pattern
         */


        private DateTimeFinder Clone()
        {
            var ret = new DateTimeFinder();

            ret.Adjustments.AddRange(Adjustments);
            ret.Conditions.AddRange(Conditions);
            return(ret);
        }
Beispiel #2
0
 public static DateTimeFinder WithAdjustment(this DateTimeFinder DateFinder, DateTimeAdjuster Adjustment)
 {
     DateFinder.Adjustments.Add(Adjustment);
     return(DateFinder);
 }