Rename util.DateInterval class

  Status: implemented,  Thu Aug 14 20:17:22 2008
  • Created: 2008-08-05 10:18:17+0200
  • Categories: util
  • Author: friebe

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



<EOF>


Table of contents