/** * Returns the length of the month represented by this date. * <p> * This returns the length of the month in days. * Month lengths match those of the ISO calendar system. * * @return int the length of the month in days */ public function lengthOfMonth() { return $this->isoDate->lengthOfMonth(); }