thekid/rfc — Issue #171: RFC 0171: Rename util.DateInterval class
Author: thekid
Created: 2011-10-09 15:34:09+00:00
State: open
Labels: implemented, rfc

Scope of Change
====
The util.DateInterval class will be renamed.

Rationale
====
PHP 5.3 has a class called DateInterval built-in. Thus, non-namespaced
versions of the XP framework won't run on PHP 5.3.

Functionality
====

Deprecation
----
The `util.DateInterval` class will be deprecated.

New name
----
A new class `util.TimeInterval` class will be created. It will
have the same API as the DateInterval class.

Security considerations
====
None.

Speed impact
====
None.

Dependencies
====
None.

Related documents
====
DateInterval in the .NET framework:
http://msdn.microsoft.com/en-us/library/60z1tx96.aspx

Implementing patch:
http://xp-framework.net/rfc/contrib/rfc0171.diff

Comments
====