Function anj_time_real_new

Function Documentation

static inline anj_time_real_t anj_time_real_new(const int64_t scalar, const anj_time_unit_t unit)

Creates a real timestamp from an integer scalar and unit.

Parameters:
  • scalar – Integer value.

  • unit – Unit of scalar.

Returns:

Real timestamp.