Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

DateUtil setWeekendDays

$
0
0
How can I change the weekend days just for a particular instance of a Calendar?

I see there is a DateUtil.setWeekendDays method, but will that change it for the entire client?

In my application, you can create different "calendar" objects (where "calendar" is our own server object that defines aspects of a calendar like working days). The user can then render different "calendars" which may have different working days/weekend days so I need to be able to create a client Calendar and change the weekend days on just that calendar.

Thanks.

Viewing all articles
Browse latest Browse all 4756

Trending Articles