/** * Gets the URI string for the current calendar unit * @param string calendar unit to fetch uri for (year,month,week or day etc) * @return string * @access public */ function this($method) { return $this->Uri->this($this, $method); }
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')); }