프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$formatter |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
diff ( $from, $to = null ) : string | Returns a single number of years, months, days, hours, minutes or seconds between the specified date times. | |
getDatetimeObject ( mixed $datetime = null ) : DateTimeInterfac\DateTimeInterface | Returns a DateTime instance for the given datetime | |
getName ( ) |
public __construct ( |
||
$formatter |
public getDatetimeObject ( mixed $datetime = null ) : DateTimeInterfac\DateTimeInterface | ||
$datetime | mixed | |
리턴 | DateTimeInterfac\DateTimeInterface |