Print Page | Close Window

Error in FirstDayOfWeek documentation

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=6949
Printed Date: 06 October 2024 at 2:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Error in FirstDayOfWeek documentation
Posted By: nighthawk
Subject: Error in FirstDayOfWeek documentation
Date Posted: 22 April 2007 at 7:35pm
I've been trying to work work with the CalendarControl.Options.FirstDayOfWeek but I ran into a lot of problems using it like the documentation says.  The documentation says the values for this are:

Sunday=1
Monday=2
Tuesday=4
Wednesday=8
Thursday=16
Friday=32
Saturday=64

After a lot of frustrating experimentation, It seems to only work with the following values:

Sunday=1
Monday=2
Tuesday=3
Wednesday=4
Thursday=5
Friday=6
Saturday=7

Please confirm that this is an error in the documentation.  I am using 10.4.2.



Replies:
Posted By: sserge
Date Posted: 16 May 2007 at 5:26pm
Hi,

Yes, a correct documentation says a following:

    //     nFirstDayOfWeek - An int that contains the new first day of the
    //                       week. An integer from range between 1 and 7,
    //                       where 1 = Sunday, 2 = Monday, and so on.


--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net