Aeon\Calendar\Gregorian\Month

View at GitHub ( 1.x )
Introduction

Class synopis

class final Month
{
public __construct ( Year $year , int $number )
public static create ( int $year , int $month ) : 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 previous ( void ) : self
public next ( void ) : self
public plus ( int $years , int $months ) : self
public minus ( int $years , int $months ) : self
public plusMonths ( int $months ) : self
public minusMonths ( int $months ) : self
public plusYears ( int $years ) : self
public minusYears ( int $years ) : self
public firstDay ( void ) : Day
public lastDay ( void ) : Day
public number ( void ) : int
public year ( void ) : Year
public days ( void ) : MonthDays
public numberOfDays ( void ) : int
public shortName ( void ) : string
public name ( void ) : string
public iterate ( self $destination , Interval $interval ) : Months
public until ( self $month , Interval $interval ) : Months
public since ( self $month , Interval $interval ) : Months
public isEqual ( self $month ) : bool
public isBefore ( self $month ) : bool
public isBeforeOrEqual ( self $month ) : bool
public isAfter ( self $month ) : bool
public isAfterOrEqual ( self $month ) : bool
public distance ( self $to ) : TimeUnit
public quarter ( void ) : Quarter
}
Table of Contents