<commit_before>RFC 0171: Rename util.DateInterval class
========================================================================
$Id$

@authors: friebe
@created: Tue Aug  5 10:18:17     2008
@status: discussion, ends Tue Aug 12 18:00:00     2008
@category: util

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 <tt>util.DateInterval</tt> class will be deprecated.

New name
~~~~~~~~
A new class <tt>util.TimeInterval</tt> class will be created. It will
have the same API as the DateInterval class.


Security considerations<commit_msg>- Set status to implemented<commit_after>RFC 0171: Rename util.DateInterval class
========================================================================
$Id$

@authors: friebe
@created: Tue Aug  5 10:18:17     2008
@status: implemented, Thu Aug 14 20:17:22     2008
@category: util

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 <tt>util.DateInterval</tt> class will be deprecated.

New name
~~~~~~~~
A new class <tt>util.TimeInterval</tt> class will be created. It will
have the same API as the DateInterval class.


Security considerations
{'fraction_non_alphanumeric': 0.2244501940491591, 'fraction_numerical': 0.040103492884864166, 'mean_word_length': 3.702127659574468, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2592175', 'n_tokens_mistral': 488, 'n_tokens_neox': 416, 'n_words': 170}