Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data TimeInNanos Source #
Contains a timestamp with optional nanosecond granularity.
See: newTimeInNanos
smart constructor.
TimeInNanos' | |
|
Instances
Create a value of TimeInNanos
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:offsetInNanos:TimeInNanos'
, timeInNanos_offsetInNanos
- The nanosecond offset from timeInSeconds
.
$sel:timeInSeconds:TimeInNanos'
, timeInNanos_timeInSeconds
- The timestamp date, in seconds, in the Unix epoch format. Fractional
nanosecond data is provided by offsetInNanos
.
timeInNanos_offsetInNanos :: Lens' TimeInNanos (Maybe Natural) Source #
The nanosecond offset from timeInSeconds
.
timeInNanos_timeInSeconds :: Lens' TimeInNanos Natural Source #
The timestamp date, in seconds, in the Unix epoch format. Fractional
nanosecond data is provided by offsetInNanos
.