Exemplo n.º 1
0
 /**
  * Export a DateTime field.
  *
  * @todo A bunch of code calls this function outside this class, so it
  * needs to be marked public for now.
  *
  * @param integer|object|array $value  The time value to export (either a
  *                                     Horde_Date, array, or timestamp).
  * @param boolean $floating            Whether to return a floating
  *                                     date-time (without time zone
  *                                     information).
  *
  * @return string  The string representation of the datetime value.
  */
 public function _exportDateTime($value, $floating = false)
 {
     $date = new Horde_Date($value);
     return $date->toICalendar($floating);
 }