nlib
nn::nlib::TimeValue Class Referencefinal

The class that wraps 64-bit signed integers. More...

#include "nn/nlib/DateTime.h"

Public Member Functions

constexpr TimeValue () noexcept
 Instantiates the object with default parameters (default constructor).
 
constexpr TimeValue (int64_t tick_) noexcept
 Initializes with the values of nlib_time and nlib_duration taken as the arguments.
 
TimeValueoperator+= (const TimeValue &rhs) noexcept
 Adds.
 
TimeValueoperator-= (const TimeValue &rhs) noexcept
 Subtracts.
 
TimeValue operator- () const noexcept
 A unary operator.
 
TimeValue operator+ () const noexcept
 A unary operator.
 

Public Attributes

int64_t tick
 These can be used for nlib_time and nlib_duration.
 

Detailed Description

The class that wraps 64-bit signed integers.

Description
Used for storing the values of nlib_time and nlib_duration. Wraps values so they do not get mixed up with other units like minutes and seconds.

Definition at line 51 of file DateTime.h.


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