Lines Matching refs:timestamp
43 format(timestamp: Timestamp): string {
45 timestamp.getValueNs() + (this.utcOffset.getValueNs() ?? 0n);
60 format(timestamp: Timestamp): string {
61 const timestampNanos = timestamp.getValueNs();
84 tryGetBootTimeNs(timestamp: Timestamp): bigint | undefined;
85 tryGetRealTimeNs(timestamp: Timestamp): bigint | undefined;
106 initializeUTCOffset(timestamp: Timestamp) {
113 const utcValueNs = timestamp.getValueNs();
190 tryGetBootTimeNs(timestamp: Timestamp): bigint | undefined {
197 return timestamp.getValueNs() - this.realToBootTimeOffsetNs;
200 tryGetRealTimeNs(timestamp: Timestamp): bigint | undefined {
204 return timestamp.getValueNs();