26 $time = $this->time ?? new \DateTime();
29 $time->modify($modifier);
44 $this->time = clone
$time;
setCurrentTime(\DateTime $time=null)
Set the current time.
resetCurrentTime()
Reset the current time Use after the time has been set with setCurrentTime and it no longer needs to ...
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
if(!$annotation instanceof ElggAnnotation) $time
getCurrentTime($modifier= '')
Get the (cloned) time.
Extension of the DateTime class to support formatting a date using the locale.