java.lang.Object
dk.cloudcreate.essentials.shared.time.Timing
- Direct Known Subclasses:
TimingWithResult
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
description
Description of the timing - typically a description of what was timed/measured -
duration
How long did the operation performed take
-
-
Constructor Details
-
Timing
- Parameters:
description- Description of the timing - typically a description of what was timed/measuredduration- How long did the operation performed take
-
Timing
- Parameters:
duration- How long did the operation performed take
-
-
Method Details
-
of
Create a newTiming- Parameters:
description- Description of the timing - typically a description of what was timed/measuredduration- How long did the operation performed take- Returns:
- the
Timing
-
of
Create a newTiming- Parameters:
duration- How long did the operation performed take- Returns:
- the
Timing
-
getDescription
Description of the timing - typically what was timed/measured- Returns:
- Description of the timing - typically what was timed/measured
-
getDuration
How long did the operation performed take- Returns:
- How long did the operation performed take
-
toString
-