TimeSpan class. More...
#include <pyfbsdk_generated.h>
Public Member Functions | |
FBTimeSpan (FBTime pStart=0, FBTime pStop=0) | |
Constructor. | |
int | GetDirection () |
Get the direction of the timespan. | |
FBTime | GetDuration () |
Get the unsigned duration value of a timespan. | |
FBTime | GetSignedDuration () |
Get the signed duration value of a timespan. | |
FBTime | GetStart () |
Get the start/stop time. | |
FBTime | GetStart () |
FBTime | GetStop () |
FBTime | GetStop () |
Set (FBTime pStart, FBTime pStop) | |
Set the TimeSpan. | |
TimeSpan class.
FBTimeSpan | ( | FBTime | pStart = 0 , |
FBTime | pStop = 0 |
||
) |
Constructor.
pStart | Start time(default=0). |
pStop | Stop time(default=0). |
int GetDirection | ( | ) |
Get the direction of the timespan.
Returns 1 if positive, -1 otherwise.
FBTime GetDuration | ( | ) |
Get the unsigned duration value of a timespan.
FBTime GetSignedDuration | ( | ) |
Get the signed duration value of a timespan.
FBTime GetStart | ( | ) |
Get the start/stop time.
FBTime GetStart | ( | ) |
FBTime GetStop | ( | ) |
FBTime GetStop | ( | ) |