Example calendar-settings.xml file (clevercactus beta3)



<?xml version="1.0" encoding="UTF-8"?>
<calendar-settings>
	<date-format>DDMMYYY</date-format>
	<time-format>HH:MM</time-format>
	<!-- timezone information is not used in beta3 -->
	<timezones>
		<current>SYSTEM</current>		
	</timezones>
	<weekdays>
		<!-- position starts at 0 = Sunday. The names are obtained
			from the string resource file for the appropriate position -->
		<first-day-of-week>0</first-day-of-week>
		<!-- 0 = Sunday -->
		<day position="0">
			<is-workday>false</is-workday>
		</day>
		<!-- 1 = Monday -->
		<day position="1">
			<is-workday>true</is-workday>
			<!-- start work and end work can be specified with HH:MM format
			     Multiple start work/end work sections can be specified
			     for a single day. Start and end must be specified
			     in chronological sequence. Invalid sequences will be ignored. -->
			<work-range>8:00-12:00</work-range>
			<work-range>13:00-17:00</work-range>
		</day>
		<!-- 2 = Tuesday -->
		<day position="2">
			<is-workday>true</is-workday>
			<work-range>8:00-12:00</work-range>
			<work-range>13:00-17:00</work-range>
		</day>
		<!-- 3 = Wednesday -->
		<day position="3">
			<is-workday>true</is-workday>
			<work-range>8:00-12:00</work-range>
			<work-range>13:00-17:00</work-range>
		</day>
		<!-- 4 = Thursday -->
		<day position="4">
			<is-workday>true</is-workday>
			<work-range>8:00-12:00</work-range>
			<work-range>13:00-17:00</work-range>
		</day>
		<!-- 5 = Friday -->
		<day position="5">
			<is-workday>true</is-workday>
			<work-range>8:00-12:00</work-range>
			<work-range>13:00-17:00</work-range>
		</day>
		<!-- 6 = Saturday -->
		<day position="6">
			<is-workday>false</is-workday>
		</day>
	</weekdays>
	
	<holidays>
	<!-- holidays can be imported from external holiday files with the same
		format -->
	<holiday>
		<!-- date format is simply day/month -->
		<date>1/1</date> <!-- Western New Year's Day -->
		<!-- These names are referenced from a resource file 
			called /resources/HolidaysBundle.properties which must be accessible 
			from the class path -->
		<name>NEW_YEARS_HOLIDAY</name>
		<description>NEW_YEARS_HOLIDAY_DESC</description>
	</holiday>
	<holidays>
</calendar-settings>