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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Calendar FirstDayOfWeek issue

Thread ID:





144157 Apr 22,2019 09:11 PM UTC Apr 23,2019 10:45 AM UTC Xamarin.Android 1
Tags: SfCalendar
Asked On April 22, 2019 09:11 PM UTC

hi all,
why i must set FirstDayOfWeek=2 if i want monday and not 1? sunday should be 0, am i wrong?

Subburaj Pandian Veluchamy [Syncfusion]
Replied On April 23, 2019 10:45 AM UTC

Hi Alberto, 
Thank you for contacting Syncfusion support. 
As per the SfCalendar implementation “While setting Calendar FirstDayofWeek as 1 it will display as Sunday” and we have implemented this behavior based on the native JavaCalendar behavior. As per the JavaCalendar the FirstDayofWeek weekdays will return value from 1 to 7, as same calendar will accept values from 1 to 7 and Sunday will be 1 and Saturday will be 7. Kindly set the value as 2 to set Monday as first day of week. 
JavaCalendar code snippet for your reference, 
Java.Util.Calendar nativeCalendar = Java.Util.Calendar.Instance; 
// The value Sunday will set the FirstDayOfWeek as 1 
nativeCalendar.FirstDayOfWeek = Java.Util.Calendar.Sunday; 
Kindly revert us if you have any concern. 
Subburaj Pandian V 


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon