Cake\Chronos\ChronosInterface::diffInYears PHP 메소드

diffInYears() 공개 메소드

Get the difference in years
public diffInYears ( Cake\Chronos\ChronosInterface $dt = null, boolean $abs = true ) : integer
$dt Cake\Chronos\ChronosInterface The instance to difference from.
$abs boolean Get the absolute of the difference
리턴 integer
    public function diffInYears(ChronosInterface $dt = null, $abs = true);
ChronosInterface