fadein = $dt->format('H:i:s.u'); $this->modifiedColumns[] = CcPlaylistcontentsPeer::FADEIN; return $this; } // setDbFadein() /** * * @param String in format SS.uuuuuu, Datetime, or DateTime accepted string. * * @return CcPlaylistcontents The current object (for fluent API support) */ public function setDbFadeout($v) { if ($v instanceof DateTime) { $dt = $v; } else if (preg_match('/^[0-5][0-9](\.\d{1,6})?$/', $v)) { $dt = DateTime::createFromFormat("s.u", $v); } else { try { $dt = new DateTime($v); } catch (Exception $x) { throw new PropelException('Error parsing date/time value: ' . var_export($v, true), $x); } } $this->fadeout = $dt->format('H:i:s.u'); $this->modifiedColumns[] = CcPlaylistcontentsPeer::FADEOUT; return $this; } // setDbFadeout() } // CcPlaylistcontents