Aeon\Calendar\Gregorian\DateTime

View at GitHub ( 1.0 )
Introduction

Class synopis

class final DateTime
{
public __construct ( Day $day , Time $time , TimeZone $timeZone )
public static create ( int $year , int $month , int $day , int $hour , int $minute , int $second , [ int $microsecond = null ] , [ string $timezone = ] ) : self
public static fromDateTime ( \DateTimeInterface $dateTime ) : self
public static fromString ( string $date ) : self
public static fromTimestampUnix ( int $timestamp ) : self
public __toString ( void ) : string
public __debugInfo ( void ) : array
public __serialize ( void ) : array
public __unserialize ( array $data ) : void
public year ( void ) : Year
public month ( void ) : Month
public day ( void ) : Day
public time ( void ) : Time
public setTime ( Time $time ) : self
public setTimeIn ( Time $time , TimeZone $timeZone ) : self
public setDay ( Day $day ) : self
public toAtomicTime ( void ) : self
public toGPSTime ( void ) : self
public format ( string $format ) : string
public timeZone ( void ) : TimeZone
public timeZoneAbbreviation ( void ) : TimeZone
public toTimeZone ( TimeZone $dateTimeZone ) : self
public toISO8601 ( [ bool $extended = ] ) : string
public isDaylightSaving ( void ) : bool
public isDaylight ( void ) : bool
public timestamp ( TimeEpoch $timeEpoch ) : TimeUnit
public timestampUNIX ( void ) : TimeUnit
public modify ( string $modifier ) : self
public addHour ( void ) : self
public subHour ( void ) : self
public addHours ( int $hours ) : self
public subHours ( int $hours ) : self
public addMinute ( void ) : self
public subMinute ( void ) : self
public addMinutes ( int $minutes ) : self
public subMinutes ( int $minutes ) : self
public addSecond ( void ) : self
public subSecond ( void ) : self
public addSeconds ( int $seconds ) : self
public subSeconds ( int $seconds ) : self
public addDay ( void ) : self
public subDay ( void ) : self
public addDays ( int $days ) : self
public subDays ( int $days ) : self
public addMonth ( void ) : self
public subMonth ( void ) : self
public addMonths ( int $months ) : self
public subMonths ( int $months ) : self
public addYear ( void ) : self
public subYear ( void ) : self
public addYears ( int $years ) : self
public subYears ( int $years ) : self
public midnight ( void ) : self
public noon ( void ) : self
public endOfDay ( void ) : self
public yesterday ( void ) : self
public tomorrow ( void ) : self
public add ( Unit $timeUnit ) : self
public sub ( Unit $timeUnit ) : self
public isEqual ( self $dateTime ) : bool
public isAfter ( self $dateTime ) : bool
public isAfterOrEqual ( self $dateTime ) : bool
public isBeforeOrEqual ( self $dateTime ) : bool
public isBefore ( self $dateTime ) : bool
public until ( self $dateTime ) : TimePeriod
public since ( self $dateTime ) : TimePeriod
public distance ( self $dateTime ) : TimeUnit
public distanceSince ( self $dateTime ) : TimeUnit
public distanceUntil ( self $dateTime ) : TimeUnit
public iterate ( self $pointInTime , TimeUnit $by ) : TimePeriods
public isAmbiguous ( void ) : bool
public quarter ( void ) : Quarter
}
Table of Contents