Example #1
0
 public Date(DateTime dateTime, IPublicHolidayCalendar calendar)
 {
     _publicHolidayCalendar = calendar ?? Dates.PublicHolidayCalendar.Default;
     _dateTime = dateTime;
 }
Example #2
0
 public Date(int year, int month, int day, IPublicHolidayCalendar calandar)
     : this(new DateTime(year, month, day), calandar)
 {
 }