Issues

ZF-12042: Zend_Date - isEarlier() and isLater()

Description

Suggestion for improvement.

Create alias methods: - isEarlierThan for isEarlier - isLaterThan for isLater

These new methods name gives a better interpretation of code reading.

example:


if ($someDate->isEarlierThan($now)) {
   ...
}

if ($someDate->isLaterThan(time())) {
   ...
}

Comments

No comments to display