[commits] Horde-Hatchery branch master updated.

Chuck Hagenbuch chuck at horde.org
Mon Jun 29 02:50:19 UTC 2009


The branch "master" has been updated.
The following is a summary of the commits.

from: 3efd446d5615125b005c54f532bd7450adc11aa3

c240cdc... - Add Horde_Date_Parser_Result for holding complex results from   Horde_Date_Parser#parse()

-----------------------------------------------------------------------

commit c240cdc93602ddc11e210fddbf4d00f19f33c965
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sun Jun 28 22:48:17 2009 -0400

    - Add Horde_Date_Parser_Result for holding complex results from
      Horde_Date_Parser#parse()
    
    - Replace the 'guess' option with a generic 'return' option that allows you to
      pick a Horde_Date, Horde_Date_Span, or Horde_Date_Parser_Result
    
    - Move the guess() function to the Horde_Date_Parser_Result object (maybe it
      should actually be on the span itself?)
    
    - Horde_Date_Parser_Result can return the tagged or untagged text from the
      original string.

 framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base.php      |   57 +++---
 framework/Date_Parser/lib/Horde/Date/Parser/Result.php           |   41 ++++
 framework/Date_Parser/package.xml                                |    2 +
 framework/Date_Parser/test/Horde/Date/Parser/Locale/BaseTest.php |   10 +-
 framework/Date_Parser/test/Horde/Date/Parser/ParserTest.php      |   14 --
 framework/Date_Parser/test/Horde/Date/Parser/ResultTest.php      |   29 +++
 6 files changed, 101 insertions(+), 52 deletions(-)
 create mode 100644 framework/Date_Parser/lib/Horde/Date/Parser/Result.php
 create mode 100644 framework/Date_Parser/test/Horde/Date/Parser/ResultTest.php

http://git.horde.org/diff.php/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base.php?rt=horde-hatchery&r1=cc4e5d8cc30db15741751238dd3de754a6a1ff74&r2=c240cdc93602ddc11e210fddbf4d00f19f33c965
http://git.horde.org/co.php/framework/Date_Parser/lib/Horde/Date/Parser/Result.php?rt=horde-hatchery&r=c240cdc93602ddc11e210fddbf4d00f19f33c965
http://git.horde.org/diff.php/framework/Date_Parser/package.xml?rt=horde-hatchery&r1=0c83e020bb7e9f7399a2a4ba5ca5b79e01529947&r2=c240cdc93602ddc11e210fddbf4d00f19f33c965
http://git.horde.org/diff.php/framework/Date_Parser/test/Horde/Date/Parser/Locale/BaseTest.php?rt=horde-hatchery&r1=d22fc868e54b88e3e7c44a795e86fd4b94ea366b&r2=c240cdc93602ddc11e210fddbf4d00f19f33c965
http://git.horde.org/diff.php/framework/Date_Parser/test/Horde/Date/Parser/ParserTest.php?rt=horde-hatchery&r1=b849004471ce4864dbce615f8a9007b04bde812d&r2=c240cdc93602ddc11e210fddbf4d00f19f33c965
http://git.horde.org/co.php/framework/Date_Parser/test/Horde/Date/Parser/ResultTest.php?rt=horde-hatchery&r=c240cdc93602ddc11e210fddbf4d00f19f33c965




More information about the commits mailing list