alexsorokoletov / Xamarin.iOS.DatePickerDialog

Xamarin iOS C# port of https://github.com/squimer/DatePickerDialog-iOS-Swift
MIT License
24 stars 15 forks source link

added date range #1

Closed nagarajas closed 7 years ago

nagarajas commented 7 years ago

Made changes to accommodate date range in the calendar control. So with this pull request, we can restrict the date range for validation purpose.

Example: Here i have added date range from today to till tomorrow (day+1, i.e mindate: DateTime.Now - maxdate: DateTime.Now.AddDays(1)) 2017-06-03_09-32-23

alexsorokoletov commented 7 years ago

@nagarajas Thank you for submitting this pull request!

I would appreciate if you could:

nagarajas commented 7 years ago

@alexsorokoletov I have made the changes and added description. Please do take a look into this.

alexsorokoletov commented 7 years ago

Very well, @nagarajas! I still see that some of the code pieces are not formatted, make sure you format code once in a while or make it autoformat on save. Will be less diffs in future commits in any of your projects.

Appreciate your contribution, @nagarajas!

alexsorokoletov commented 7 years ago

Updated package uploaded to NuGet.