示例#1
0
 public static DateTime GetWashingtonBirthdayDate(int year)
 {
     return(MonthHelper.DateFromWeekday(year, 2, DayOfWeek.Monday, 3));
 }
示例#2
0
 public static DateTime GetMartinLutherKingBirthdayDate(int year)
 {
     return(MonthHelper.DateFromWeekday(year, 1, DayOfWeek.Monday, 3));
 }
示例#3
0
 public static DateTime GetColumbusDayDate(int year)
 {
     return(MonthHelper.DateFromWeekday(year, 10, DayOfWeek.Monday, 2));
 }
示例#4
0
 public static DateTime GetThanksGivingDayDate(int year)
 {
     return(MonthHelper.DateFromWeekday(year, 11, DayOfWeek.Thursday, 4));
 }
示例#5
0
 public static DateTime GetLaborDayDate(int year)
 {
     return(MonthHelper.DateFromWeekday(year, 9, DayOfWeek.Monday, 1));
 }