コード例 #1
0
 public static void AppliesTo(FixedYearlyWorkScheduleRule 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 ToString(FixedYearlyWorkScheduleRule obj, MethodReturnEventArgs<System.String> e)
 {
     e.Result = string.Format(e.Result + "; Yearly on {0}.{1}", obj.Day, obj.Month);
 }