Are there any existing libraries in existence that will parse a datetime from a plaintext phrase? I'm looking for something similar to Remember The Milk or Outlook, where the user can enter "next tuesday at 6pm" or "tonight at 7" and the library can spit out {4/28/2009 18:00:00} or {4/25/2009 19:00:00}. I'm considering writing my own, but I'd rather use/contribute to something already in existence.
相关问题
- Generic Generics in Managed C++
- Correctly parse PDF paragraphs with Python
- How to Debug/Register a Permanent WMI Event Which
- 'System.Threading.ThreadAbortException' in
- Bulk update SQL Server C#
Datejs is an open-source JavaScript Date Library that does what you're asking for: http://www.datejs.com/
It's not .NET, but it is Open Source.