GMTSTimestamp Class Reference
Stay organized with collections
Save and categorize content based on your preferences.
Overview
Object representing a timestamp.
Inherits GMTCImmutableData.
Public Member Functions |
(instancetype) | - initWithSeconds:nanos: |
| Instantiates the object with the specified `seconds` and `nanos'.
|
Properties |
int64_t | seconds |
| Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z.
|
int32_t | nanos |
| Non-negative fractions of a second at nanosecond resolution.
|
Member Function Documentation
- (instancetype) initWithSeconds: |
|
(int64_t) |
seconds |
nanos: |
|
(int32_t) |
nanos |
|
|
| |
Instantiates the object with the specified `seconds` and `nanos'.
Property Documentation
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z.
Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
- (int32_t) nanos [read, assign] |
Non-negative fractions of a second at nanosecond resolution.
Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-30 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-07-30 UTC.",
"confidential": False
}