Aeon\Twig\CalendarExtension

View at GitHub ( 1.x )
Introduction

Class synopis

class final CalendarExtension extends AbstractExtension implements ExtensionInterface
{
public __construct ( Calendar $calendar , [ string $defaultTimeZone = ] , [ string $defaultDateTimeFormat = ] , [ string $defaultDayFormat = ] , [ string $defaultTimeFormat = ] )
public getFilters ( void ) : array
public getFunctions ( void ) : array
public aeon_datetime_create ( mixed $dateTime , [ ? string $timezone = null ] ) : DateTime
public aeon_datetime_format ( DateTime $dateTime , [ ? string $format = null ] , [ ? string $timezone = null ] ) : string
public aeon_time_format ( Time $time , [ ? string $format = null ] ) : string
public aeon_day_format ( Day $day , [ ? string $format = null ] ) : string
public aeon_interval ( string $interval ) : Interval
public aeon_in_seconds_precise ( TimeUnit $timeUnit ) : string
public aeon_in_seconds ( TimeUnit $timeUnit ) : int
public aeon_second ( int $seconds ) : TimeUnit
public aeon_minute ( int $minutes ) : TimeUnit
public aeon_hour ( int $hours ) : TimeUnit
public aeon_day ( int $days ) : TimeUnit
public aeon_now ( [ ? string $timezone = null ] ) : DateTime
public aeon_current_time ( void ) : Time
public aeon_current_day ( void ) : Day
public aeon_current_month ( void ) : Month
public aeon_current_year ( void ) : Year
public aeon_interval_closed ( void ) : Interval
public aeon_interval_open ( void ) : Interval
public getTokenParsers ( void ) : mixed
public getNodeVisitors ( void ) : mixed
public getTests ( void ) : mixed
public getOperators ( void ) : mixed
}
Table of Contents