init(timeIntervalSince1970:)

Creates a new Google_Protobuf_Timestamp initialized relative to 00:00:00 UTC on 1 January 1970 by a given number of seconds.

Google_Protobuf_Timestamp+Extensions.swift:248

This declaration has been renamed to Google_Protobuf_Timestamp.init(roundingTimeIntervalSince1970:rule:).

This declaration is deprecated.

init(timeIntervalSince1970: TimeInterval)

Parameters

timeIntervalSince1970

The TimeInterval, interpreted as seconds relative to 00:00:00 UTC on 1 January 1970.