aredington/monotony — Issue #3: interval inclusiveness like Temporal 
Author: jfkw
Created: 2011-12-20 19:22:55+00:00
State: open

Hello Alex,

```[# #]
```

Have you considered inclusive and exclusive boundaries to capture the time outside the 1-second quantization?

An example is the PostgreSQL Temporal Extension period type:

```select period('2011-01-01 00:00:00-08', '2012-01-01 00:00:00-08');
period
--------------------------------------------------
[2011-01-01 00:00:00-08, 2012-01-01 00:00:00-08)
```

This particular text representation is not appropriate for lisp, but the functionality seems like a good fit for monotony.

http://temporal.projects.postgresql.org/reference.html

Paraphrasing:

"The period text representation is one of the following forms:

```( timestamptz, timestamptz )
[ timestamptz, timestamptz )
( timestamptz, timestamptz ]
[ timestamptz, timestamptz ]
```

"Where timestamptz is a valid representation of a timestamptz. The choice of brackets represents the inclusiveness of the interval. A square bracket makes that side inclusive, and a peren makes that side exclusive.

Thanks,
Jeff