FBTimeSpan Class Reference
#include <fbtime.h>
TimeSpan class.
Definition at line 381 of file fbtime.h.
Constructor.
- Parameters
-
pStart | Start time(default=0). |
pStop | Stop time(default=0). |
Get the direction of the timespan.
Returns 1 if positive, -1 otherwise.
- Returns
- Direction of timespan.
Get the unsigned duration value of a timespan.
- Returns
- Unsigned duration of the timespan.
Get the signed duration value of a timespan.
- Returns
- Signed duration of the timespan.
Get the start/stop time.
- Returns
- Start/Stop time.
const FBTime& GetStart |
( |
| ) |
const |
const FBTime& GetStop |
( |
| ) |
const |
Verify if pTime is contained within the timespan.
- Parameters
-
pTime | Time to verify if within the timespan. |
- Returns
- true if pTime is within the timespan.
Calculate the intersection of two timespans.
- Returns
- Timespan representing the intersection of the two timespans.
Set the TimeSpan.
- Parameters
-
pStart | Start time. |
pStop | Stop time. |
The documentation for this class was generated from the following file: