FAST.Framework  1.0.0
Public Member Functions | Friends | List of all members
FTimeSpan Class Reference

#include <FTimeSpan.h>

Inheritance diagram for FTimeSpan:
Inheritance graph
[legend]
Collaboration diagram for FTimeSpan:
Collaboration graph
[legend]

Public Member Functions

 FTimeSpan (const ULLong &first, const ULLong &second)
 Constructor timespan object.
 
 FTimeSpan (const ULLong &interval)
 Constructor timespan object.
 
virtual ~FTimeSpan ()=default
 Destroys the timespan object.
 
Double TotalDays () const
 Returns total days.
 
Double TotalHours () const
 Returns total hours.
 
Double TotalMinutes () const
 Returns total minutes.
 
Double TotalSeconds () const
 Returns total seconds.
 
Double TotalMilliseconds () const
 Returns total milliseconds.
 
Double TotalMicroseconds () const
 Returns total milliseconds.
 
ULLong TotalNanoseconds () const
 Returns total nanoseconds.
 
const type_info & GetType () override
 Returns the type info over object.
 
FString GetName () const override
 Returns the name of object.
 
- Public Member Functions inherited from FObject
 FObject ()=default
 Constructor.
 
virtual ~FObject ()=default
 Destructor.
 

Friends

Boolean operator== (const FTimeSpan &first, const FTimeSpan &second)
 
Boolean operator!= (const FTimeSpan &first, const FTimeSpan &second)
 
Boolean operator<= (const FTimeSpan &first, const FTimeSpan &second)
 
Boolean operator>= (const FTimeSpan &first, const FTimeSpan &second)
 

Detailed Description

Represents a time interval

Friends And Related Function Documentation

◆ operator!=

Boolean operator!= ( const FTimeSpan first,
const FTimeSpan second 
)
friend
Parameters
firstReturns TRUE if first and second not equals, otherwise FALSE

◆ operator<=

Boolean operator<= ( const FTimeSpan first,
const FTimeSpan second 
)
friend
Parameters
firstReturns TRUE if first lower or equals to second, otherwise FALSE

◆ operator==

Boolean operator== ( const FTimeSpan first,
const FTimeSpan second 
)
friend
Parameters
firstReturns TRUE if first and second equals, otherwise FALSE

◆ operator>=

Boolean operator>= ( const FTimeSpan first,
const FTimeSpan second 
)
friend
Parameters
firstReturns TRUE if first bigger or equals to second, otherwise FALSE

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