Exemple #1
0
 /**
  * Gets the URI string for the next calendar unit
  * @param string calendar unit to fetch uri for (year,month,week or day etc)
  * @return string
  * @access public
  */
 function next($method)
 {
     return $this->Uri->next($this, $method);
 }
Exemple #2
0
 function testSetSeperator()
 {
     $Uri = new Calendar_Util_Uri('year', 'month', 'day', 'hour', 'minute', 'second');
     $Uri->separator = '/';
     $this->assertEqual('year=/month=/day=/hour=/minute=/second=', $Uri->this($this->MockCal, 'second'));
 }