Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTimespan
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTimespan () |
Default constructor (zero initialization). | Misc/Timespan.h | |
FTimespan
(
int64 InTicks |
Create and initialize a new time interval with the specified number of ticks. | Misc/Timespan.h | |
FTimespan
(
int32 Hours, |
Create and initialize a new time interval with the specified number of hours, minutes and seconds. | Misc/Timespan.h | |
FTimespan
(
int32 Days, |
Create and initialize a new time interval with the specified number of days, hours, minutes and seconds. | Misc/Timespan.h | |
FTimespan
(
int32 Days, |
Create and initialize a new time interval with the specified number of days, hours, minutes and seconds. | Misc/Timespan.h |
FTimespan()
Description
Default constructor (zero initialization).
| Name | FTimespan |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Timespan.h |
| Include Path | #include "Misc/Timespan.h" |
FTimespan()
FTimespan(int64)
Description
Create and initialize a new time interval with the specified number of ticks.
For better readability, consider using MinValue, MaxValue and Zero.
| Name | FTimespan |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Timespan.h |
| Include Path | #include "Misc/Timespan.h" |
FTimespan
(
int64 InTicks
)
Parameters
| Name | Remarks |
|---|---|
| Ticks | The number of ticks. |
See Also
-
MaxValue
-
MinValue
-
Zero
FTimespan(int32, int32, int32)
Description
Create and initialize a new time interval with the specified number of hours, minutes and seconds.
For better readability, consider using FromHours, FromMinutes and FromSeconds.
| Name | FTimespan |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Timespan.h |
| Include Path | #include "Misc/Timespan.h" |
FTimespan
(
int32 Hours,
int32 Minutes,
int32 Seconds
)
Parameters
| Name | Remarks |
|---|---|
| Hours | The hours component. |
| Minutes | The minutes component. |
| Seconds | The seconds component. |
See Also
FTimespan(int32, int32, int32, int32)
Description
Create and initialize a new time interval with the specified number of days, hours, minutes and seconds.
For better readability, consider using FromDays, FromHours, FromMinutes and FromSeconds.
| Name | FTimespan |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Timespan.h |
| Include Path | #include "Misc/Timespan.h" |
FTimespan
(
int32 Days,
int32 Hours,
int32 Minutes,
int32 Seconds
)
Parameters
| Name | Remarks |
|---|---|
| Days | The days component. |
| Hours | The hours component. |
| Minutes | The minutes component. |
| Seconds | The seconds component. |
See Also
FTimespan(int32, int32, int32, int32, int32)
Description
Create and initialize a new time interval with the specified number of days, hours, minutes and seconds.
| Name | FTimespan |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Timespan.h |
| Include Path | #include "Misc/Timespan.h" |
FTimespan
(
int32 Days,
int32 Hours,
int32 Minutes,
int32 Seconds,
int32 FractionNano
)
Parameters
| Name | Remarks |
|---|---|
| Days | The days component. |
| Hours | The hours component. |
| Minutes | The minutes component. |
| Seconds | The seconds component. |
| FractionNano | The fractional seconds (in nanosecond resolution). |