public void ToAPIWithNullSentDate()
		{
			DateTime date = DateTime.Now;
			Reminder sdk = new Reminder(date, null);
			PackageReminder api = new ReminderConverter(sdk).ToAPIPackageReminder();

			Assert.IsNotNull(api);
			Assert.AreEqual(date, api.Date);
			Assert.IsNull(api.SentDate);
		}
		public void ToAPI()
		{
			DateTime date = DateTime.Now;
			DateTime sentDate = DateTime.Now.AddMonths(1);

			Reminder sdk = new Reminder(date, sentDate);
			PackageReminder api = new ReminderConverter(sdk).ToAPIPackageReminder();

			Assert.IsNotNull(api);
			Assert.AreEqual(date, api.Date);
			Assert.AreEqual(sentDate, api.SentDate);
		}
		public Reminder ToSDKReminder()
		{
			if (sdkReminder != null)
			{
				return sdkReminder;
			}
			else
			{
				Reminder result = new Reminder(apiReminder.Date.Value, apiReminder.SentDate);
				return result;
			}
		}
 public ReminderConverter(Reminder sdkReminder)
 {
     this.sdkReminder = sdkReminder;
     this.apiReminder = null;
 }
 public ReminderConverter(PackageReminder apiReminder)
 {
     this.apiReminder = apiReminder;
     this.sdkReminder = null;
 }
		public ReminderConverter( Reminder sdkReminder )
		{
			this.sdkReminder = sdkReminder;
			this.apiReminder = null;
		}
		public ReminderConverter( PackageReminder apiReminder )
        {
			this.apiReminder = apiReminder;
			this.sdkReminder = null;
        }