<?xml version="1.0" encoding="UTF-8" ?>
<dt-option library="DateTime">
	<name>hoursAvailable</name>
	<summary>Sets which hours are selectable.</summary>
	<since>DateTime 1.0.0</since>

	<type type="null">
		<description>
			When this option is `null` all of the hours are selectable.
	    </description>
	</type>

	<type type="number[]">
		<description>
			When this option is an array, any value for the hour that is in this array will be selectable and all others will not.
	    </description>
	</type>

	<default value="null">
		As default, all of the hours are selectable.
	</default>
	<description>
		<![CDATA[
		This option allows the user to restrict which hours the user is able to select. Any values that are placed within the array are going to be selectable while all others will not.
		]]>
	</description>

	<example title="Restrict the user to select either 8, 9 or 10"><![CDATA[
$(document).ready(function () {
	new DateTime(document.getElementById('test'), {
		hoursAvailable: [8, 9, 10]
	});
});
]]></example>

</dt-option>
