#204 ✓closed
Ben Hood

Differentiate between Date and DateTime constraints

Reported by Ben Hood | 2011-04-18 09:56:33 UTC

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

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Real Time Differencing Tool.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages