Adding support for special time ranges

Obviously this would need cleaned up (it is written specifically for my needs) but would you be interested in a PR with special time ranges? Basically time ranges with extra classes added to them (in this case the instant class).