Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

Attribute        Path: <cwt><CALENDAR normalWeek="0000012">

The normalWeek attribute lets you change the day type used with one or more of the days in the normal week. You can for Example: define that Tuesdays should have the same day type as Sundays and Sundays should have the same day type as Saturdays (see Example: below).

attributes

normalWeek

Value:
Default:0000012
Description:A normal week consists of Monday – Friday (usually working days), Saturday and Sunday, three types of days that are often treated differently, especially when it comes to parking fees. These day types are defined as day type 0, 1 and 2 respectively.

Week day

Value

Default Day Type

Monday to Friday

0

0

Saturday

1

1

Sunday

2

2

Besides this, you can also create exceptions to normal weekday types for one or more specific days of the year by using calendar rules (see Daylight saving date and standard date rules ) and define the tariff to be used with each one of these day types.

Normal week is defined by the attribute normalWeek="MTWTFSS", where M represents Monday, T represents Tuesday, etc.

The day types defined in the normal week are used during all weeks throughout the year except for the day, or days, affected by a calendar rule.

Example:

We want to change the normal week so that Tuesday is day type 2, Saturday and Sunday day type 1 and the remaining days are day type 0.

<CALENDAR normalWeek="0200011">

 ...
</CALENDAR>