コード例 #1
0
 public static void AppliesTo(FixedYearlyCalendarRule obj, MethodReturnEventArgs <System.Boolean> e, System.DateTime date)
 {
     if (obj.CheckValidDate(date))
     {
         e.Result = date.Day == obj.Day && date.Month == obj.Month;
     }
 }
コード例 #2
0
 public static void AppliesTo(FixedYearlyCalendarRule obj, MethodReturnEventArgs<System.Boolean> e, System.DateTime date)
 {
     if (obj.CheckValidDate(date))
     {
         e.Result = date.Day == obj.Day && date.Month == obj.Month;
     }
 }
コード例 #3
0
 public static void ToString(FixedYearlyCalendarRule obj, MethodReturnEventArgs<System.String> e)
 {
     e.Result = string.Format(e.Result + "; Yearly on {0}.{1}", obj.Day, obj.Month);
 }
コード例 #4
0
 public static void ToString(FixedYearlyCalendarRule obj, MethodReturnEventArgs <System.String> e)
 {
     e.Result = string.Format(e.Result + "; Yearly on {0}.{1}", obj.Day, obj.Month);
 }