[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/AkType/ -> AkDate.php (source)

   1  <?php
   2  /**
   3   * see http://dev.rubyonrails.org/browser/branches/2-1-caching/activesupport/lib/active_support/core_ext/date/calculations.rb
   4   * and
   5   * 
   6   *
   7   */
   8  class AkDate extends AkType
   9  {
  10      function yesterday()
  11      {
  12          
  13      }
  14      
  15      function tomorrow()
  16      {
  17          
  18      }
  19      
  20      function ago($seconds = 0)
  21      {
  22          
  23      }
  24      
  25      function since($seconds = 0)
  26      {
  27          
  28      }
  29      
  30      function beginningOfday()
  31      {
  32          
  33      }
  34      
  35      function endOfDay()
  36      {
  37          
  38      }
  39      
  40      function plusWithDuration($duration)
  41      {
  42          
  43      }
  44      
  45      function minusWithDuration($duration)
  46      {
  47          
  48      }
  49      
  50      function advance($options = array())
  51      {
  52          $available_options = array('day','days',
  53                                     'week','weeks',
  54                                     'fortnight','fortnights',
  55                                     'month','months',
  56                                     'year','years'
  57                                     );
  58      }
  59      
  60      function change($options = array())
  61      {
  62          $available_options = array('year','month','day');
  63      }
  64  }
  65  ?>


Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6