clarencen/lshift — Issue #254: Differentiate between Date and DateTime constraints
Author: clarencen
Created: 2011-11-14 22:42:16+00:00
State: open

The current differentiation between yyyy-MM-dd and yyyy-MM-ddThh:mm:ss.msZ is too vague. Hence the current Date constraint should only accept yyyy-MM-dd and we should introduce a new DateTime constraint. The semantics should be:

* Date - yyyy-MM-dd:
* The lower bound means the start of the day at 0 o'clock i.e. yyyy-MM-ddT00:00:00.000Z, inclusive
* The upper bound means plus one day minus 1 millisecond i.e. yyyy-MM-ddT23:59:59.999Z, inclusive

* DateTime - yyyy-MM-ddThh:mm:ss.msZ:
* The time bounds with this granularity include each bound, i.e. it is a fully open time range