Aeon\Calendar\Gregorian\Day

View at GitHub ( 1.x )
Introduction

Class synopis

class final Day
{
public __construct ( Month $month , int $number )
public static create ( int $year , int $month , int $day ) : self
public static fromDateTime ( \DateTimeInterface $dateTime ) : self
public static fromString ( string $date ) : self
public __debugInfo ( void ) : array
public __serialize ( void ) : array
public __unserialize ( array $data ) : void
public toString ( void ) : string
public timeBetween ( self $day ) : TimeUnit
public plus ( int $years , int $months , int $days ) : self
public minus ( int $years , int $months , int $days ) : self
public plusDays ( int $days ) : self
public minusDays ( int $days ) : self
public plusMonths ( int $months ) : self
public minusMonths ( int $months ) : self
public plusYears ( int $years ) : self
public minusYears ( int $years ) : self
public previous ( void ) : self
public next ( void ) : self
public midnight ( TimeZone $timeZone ) : DateTime
public noon ( TimeZone $timeZone ) : DateTime
public endOfDay ( TimeZone $timeZone ) : DateTime
public setTime ( Time $time , TimeZone $timeZone ) : DateTime
public month ( void ) : Month
public year ( void ) : Year
public number ( void ) : int
public weekDay ( void ) : WeekDay
public weekOfYear ( void ) : int
public weekOfMonth ( void ) : int
public dayOfYear ( void ) : int
public isWeekend ( void ) : bool
public format ( string $format ) : string
public isEqual ( self $day ) : bool
public isBefore ( self $day ) : bool
public isBeforeOrEqual ( self $day ) : bool
public isAfter ( self $day ) : bool
public isAfterOrEqual ( self $day ) : bool
public iterate ( self $destination , Interval $interval ) : Days
public until ( self $day , Interval $interval ) : Days
public since ( self $day , Interval $interval ) : Days
public distance ( self $to ) : TimeUnit
public quarter ( void ) : Quarter
}
Table of Contents