time range

The <time range> inspectors provide tools for dealing and calculating with time-range types, which are of the form 'time to time', such as Tue, 18 Apr 2006 16:46:07 -0400 to Wed, 19 Apr 2006 16:46:07 -0400

Version Platforms
8.0.584.0 AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows
8.1.535.0 Debian, Ubuntu

Creation

<time> & <time> : time range

Properties

end of <time range> : time
final part <time interval> of <time range> : time range
initial part <time interval> of <time range> : time range
length of <time range> : time interval
range after <time> of <time range> : time range
range before <time> of <time range> : time range
start of <time range> : time

Casts

<time range> as string : string

Operators

<boolean> * <time range> : timed( time range, boolean )
<integer> * <time range> : timed( time range, integer )
<time range> * <boolean> : timed( time range, boolean )
<time range> * <integer> : timed( time range, integer )
<time range> contains <time range> : boolean
<time range> contains <time> : boolean