We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cannot implicitly convert type 'System.DateTime' to 'Java.Util.Calendar'

Thread ID:





127950 Dec 21,2016 01:20 AM UTC Dec 21,2016 10:05 AM UTC Xamarin.Android 2
Tags: SfCalendar
David Strickland
Asked On December 21, 2016 01:20 AM UTC

The example code provided in


Errors out on the assignment line with

DateTime d1=new DateTime(2015,1,1);

Cannot implicitly convert type 'System.DateTime' to 'Java.Util.Calendar'

David Strickland
Replied On December 21, 2016 01:48 AM UTC

Well Stumbled around in the sample code and found           

Calendar maxCal = Calendar.Instance;
maxCal.Set(view.MaxDate.Year, view.MaxDate.Month, view.MaxDate.Day);
calendar.MaxDate = maxCal;

Rajkumar Ganesamoorthy [Syncfusion]
Replied On December 21, 2016 10:05 AM UTC

Hi David,

Thanks for bringing it to our notice.

Currently we are modifying the user documentation of SfCalendar control. This modification will be available in our upcoming Volume 1,2017 release which is expected to be rolled out by the first week of February 2017.

Rajkumar G


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon