I wouldn't lump the two together. One is a point in time, easiest modelled as DateTime instance. The other is a duration with a (fixed) start and endpoint or with a fixed start point and a length given in (say) minutes.
As the two are different, use different parsers.
In reply to Re: DateTime parsing and midnight
by Corion
in thread DateTime parsing and midnight
by pokki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |