Example #1
0
 private void Set_UseEndDate()
 {
     if (UseDateLimitType == CouponUseType.Days)
     {
         if (!ReceivingDate.HasValue)
         {
             _useEndDate = null;
         }
         else
         {
             _useEndDate = ReceivingDate.GetValueOrDefault().AddDays(UseLimitDays.GetValueOrDefault());
         }
     }
     else if (UseDateLimitType == CouponUseType.All)
     {
         _useEndDate = null;
     }
 }
Example #2
0
 public MainPage InputReceivingDate(string date)
 {
     ReceivingDate.Click();
     ReceivingDate.SendKeys(date);
     return(this);
 }