You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTSiteWise::Types::TimeInNanos
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::TimeInNanos
- Defined in:
- (unknown)
Overview
Note:
When passing TimeInNanos as input to an Aws::Client method, you can use a vanilla Hash:
{
time_in_seconds: 1, # required
offset_in_nanos: 1,
}
Contains a timestamp with optional nanosecond granularity.
Returned by:
Instance Attribute Summary collapse
-
#offset_in_nanos ⇒ Integer
The nanosecond offset from
timeInSeconds
. -
#time_in_seconds ⇒ Integer
The timestamp date, in seconds, in the Unix epoch format.
Instance Attribute Details
#offset_in_nanos ⇒ Integer
The nanosecond offset from timeInSeconds
.
#time_in_seconds ⇒ Integer
The timestamp date, in seconds, in the Unix epoch format. Fractional
nanosecond data is provided by offsetInNanos
.