A time TimeInterval. More...

#include <TimeInterval.h>

Public Member Functions

 TimeInterval (const MJD &start, double seconds)
 Construct from a start time and duration in seconds.
 
bool overlaps (const TimeInterval &)
 Return true if this TimeInterval overlaps (partially spans) the given TimeInterval.
 
bool before (const TimeInterval &)
 Return true if this TimeInterval ends before the given TimeInterval.
 
bool after (const TimeInterval &)
 Return true if this TimeInterval starts after the given TimeInterval.
 

Public Attributes

MJD start_time
 
MJD end_time
 
double duration
 

Detailed Description

A time TimeInterval.


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17