Issues

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

Issue Type: Improvement Created: 2012-02-03T16:17:30.000+0000 Last Updated: 2012-02-25T18:23:17.000+0000 Status: Open Fix version(s): Reporter: Glauco Lins (gateon) Assignee: Thomas Weidner (thomas) Tags: -

Related issues: Attachments:

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:

<pre class="highlight">
if ($someDate->isEarlierThan($now)) {
   ...
}

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

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts