<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1 @@
-* Implement options.earliest &amp; options.latest
 * Implement maxRange
\ No newline at end of file</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -59,7 +59,7 @@
   &lt;div id=&quot;wrapper&quot;&gt;
     &lt;div id=&quot;calendar&quot;&gt;&lt;/div&gt;
     &lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
-      new Timeframe('calendar', {months: 3, latest: &quot;December 15, 2008&quot;});
+      new Timeframe('calendar', {months: 3, latest: &quot;December 15, 2008&quot;, earliest: &quot;July 15, 2008&quot;});
     &lt;/script&gt;
   &lt;/div&gt;
 &lt;/body&gt;</diff>
      <filename>example/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -169,7 +169,7 @@ var Timeframe = new Class({
           'text': date.getDate(),
           'class': inactive || 'active'
         });
-        if ((this.options.earliest &amp;&amp; date &lt; this.earliest) || (this.latest &amp;&amp; date &gt; this.latest)){
+        if ((this.options.earliest &amp;&amp; date &lt; this.options.earliest) || (this.options.latest &amp;&amp; date &gt; this.options.latest)){
           dayCell.addClass('unselectable');
         }else{
           dayCell.addClass('selectable');
@@ -239,6 +239,8 @@ var Timeframe = new Class({
     Marks a given date as the endpoint for the range
   */
   markEndPoint: function(date){
+    if (date &lt; this.options.earliest || date &gt; this.options.latest) return;
+    
     // Are we just starting?
     if (this.range.get('begining') == null){
       this.range.set('start', date);</diff>
      <filename>src/timeframe.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1917c1c9a2c2593b6b6e263eae43238d2fec05d3</id>
    </parent>
  </parents>
  <author>
    <name>Kyle Neath</name>
    <email>kneath@gmail.com</email>
  </author>
  <url>http://github.com/kneath/timeframe-mootools/commit/9f4dd04068766c0efdccfdd95ea60efcb87ac07d</url>
  <id>9f4dd04068766c0efdccfdd95ea60efcb87ac07d</id>
  <committed-date>2008-10-19T15:17:36-07:00</committed-date>
  <authored-date>2008-10-19T15:17:36-07:00</authored-date>
  <message>Earliest &amp; Latest fully implemented</message>
  <tree>b53fcb0bfa1a2a8899ebab772e69a0c75ac85bb0</tree>
  <committer>
    <name>Kyle Neath</name>
    <email>kneath@gmail.com</email>
  </committer>
</commit>
