Class: TimeInNanos

aws-greengrass-core-sdk.StreamManager~TimeInNanos(timeInSeconds, offsetInNanos)

Contains a timestamp with optional nanosecond granularity.

Constructor

new TimeInNanos(timeInSeconds, offsetInNanos)

Parameters:
Name Type Default Description
timeInSeconds Number null The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.
offsetInNanos Number null The nanosecond offset from timeInSeconds.
Source:

Members

offsetInNanos

The nanosecond offset from timeInSeconds.
Source:

offsetInNanos

Source:

timeInSeconds

The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.
Source:

timeInSeconds

Source:

Methods

withOffsetInNanos(value) → {aws-greengrass-core-sdk.StreamManager.TimeInNanos}

Parameters:
Name Type Description
value Number The nanosecond offset from timeInSeconds.
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.TimeInNanos

withTimeInSeconds(value) → {aws-greengrass-core-sdk.StreamManager.TimeInNanos}

Parameters:
Name Type Description
value Number The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.TimeInNanos