Aeon\Calendar\Gregorian\Time

View at GitHub ( 1.0 )
Introduction

Class synopis

class final Time
{
public __construct ( int $hour , int $minute , int $second , [ int $microsecond = null ] )
public static fromDateTime ( \DateTimeInterface $dateTime ) : self
public static fromString ( string $date ) : self
public __debugInfo ( void ) : array
public __serialize ( void ) : array
public format ( string $format ) : string
public toTimeUnit ( void ) : TimeUnit
public toString ( void ) : string
public hour ( void ) : int
public minute ( void ) : int
public second ( void ) : int
public microsecond ( void ) : int
public millisecond ( void ) : int
public isAM ( void ) : bool
public isPM ( void ) : bool
public isGreaterThan ( self $time ) : bool
public isGreaterThanEq ( self $time ) : bool
public isEqual ( self $time ) : bool
public isLessThan ( self $time ) : bool
public isLessThanEq ( self $time ) : bool
public add ( TimeUnit $timeUnit ) : self
public sub ( TimeUnit $timeUnit ) : self
}
Table of Contents