[Dev] Re: Smart Date/Time Parsing

Ken Krugler ken at transpac.com
Sun Nov 14 18:00:27 PST 2004


Hi Donn,

>Mimi has some requirements here:
>http://wiki.osafoundation.org/bin/view/Chandler/CalendarWorkflows#Date_Time_Entry_Widget_Still_Und

I added a link to a good response written by Addison Phillips about 
this exact issue. He's got an example of an augmented version of the 
parser created on top of the default Java DateFormat.parse support.

ICU has the same basic date parsing support, which could be used as a 
starting point. But to support things like "tomorrow" and "Thursday 
at 3", you'd need to do a pre-processing step where this semantic 
and/or fuzzy matching was done.

-- Ken
-- 
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200


More information about the Dev mailing list