protected $_formatCache = array();
/**
- * Build a new date object. If $date contains date parts, use them to
+ * Builds a new date object. If $date contains date parts, use them to
* initialize the object.
*
* Recognized formats:
}
/**
- * Add a number of seconds or units to this date, returning a new Date
+ * Adds a number of seconds or units to this date, returning a new Date
* object.
*/
public function add($factor)
}
/**
- * Subtract a number of seconds or units from this date, returning a new
+ * Subtracts a number of seconds or units from this date, returning a new
* Horde_Date object.
*/
public function sub($factor)
}
/**
- * Set the default date format used in __toString()
+ * Sets the default date format used in __toString()
*
* @param string $format
*/
}
/**
- * Return the number of weeks in the given year (52 or 53).
+ * Returns the number of weeks in the given year (52 or 53).
*
* @param integer $year The year to count the number of weeks in.
*
}
/**
- * Set the date of this object to the $nth weekday of $weekday.
+ * Sets the date of this object to the $nth weekday of $weekday.
*
* @param integer $weekday The day of the week (0 = Sunday, etc).
* @param integer $nth The $nth $weekday to set to (defaults to 1).
}
/**
- * Compare this date to another date object to see which one is
+ * Compares this date to another date object to see which one is
* greater (later). Assumes that the dates are in the same
* timezone.
*
}
/**
- * Compare this to another date object by time, to see which one
+ * Compares this to another date object by time, to see which one
* is greater (later). Assumes that the dates are in the same
* timezone.
*
}
/**
- * Compare this to another date object, including times, to see
+ * Compares this to another date object, including times, to see
* which one is greater (later). Assumes that the dates are in the
* same timezone.
*
}
/**
- * Get the time offset for local time zone.
+ * Returns the time offset for local time zone.
*
* @param boolean $colon Place a colon between hours and minutes?
*
}
/**
- * Return the unix timestamp representation of this date.
+ * Returns the unix timestamp representation of this date.
*
* @return integer A unix timestamp.
*/
}
/**
- * Return the unix timestamp representation of this date, 12:00am.
+ * Returns the unix timestamp representation of this date, 12:00am.
*
* @return integer A unix timestamp.
*/
}
/**
- * Format date and time to be passed around as a short url parameter.
+ * Formats date and time to be passed around as a short url parameter.
*
* @return string Date and time.
*/
}
/**
- * Format date and time to the ISO format used by JSON.
+ * Formats date and time to the ISO format used by JSON.
*
* @return string Date and time.
*/
}
/**
- * Format date and time using strftime() format.
+ * Formats date and time using strftime() format.
*
* @return string strftime() formatted date and time.
*/
}
/**
- * Format date and time using a limited set of the strftime() format.
+ * Formats date and time using a limited set of the strftime() format.
*
* @return string strftime() formatted date and time.
*/
}
/**
- * Correct any over- or underflows in any of the date's members.
+ * Corrects any over- or underflows in any of the date's members.
*
* @param integer $mask We may not want to correct some overflows.
*/
}
/**
- * Handle args in order: year month day hour min sec tz
+ * Handles args in order: year month day hour min sec tz
*/
protected function _initializeFromArgs($args)
{