Searched refs:utcOffset (Results 1 – 2 of 2) sorted by relevance
21 const utcOffset = new UTCOffset(); constant24 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * 2));25 expect(utcOffset.format()).toEqual('UTC+02:00');29 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * 11));30 expect(utcOffset.format()).toEqual('UTC+11:00');34 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * 5.5));35 expect(utcOffset.format()).toEqual('UTC+05:30');39 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * -8));40 expect(utcOffset.format()).toEqual('UTC-08:00');44 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * -10));[all …]
37 constructor(private utcOffset: UTCOffset) {} property in RealTimestampFormatter40 this.utcOffset = value;45 timestamp.getValueNs() + (this.utcOffset.getValueNs() ?? 0n);94 private readonly utcOffset = new UTCOffset(); property in TimestampConverter96 this.utcOffset,108 this.utcOffset.getValueNs() !== undefined ||119 this.utcOffset.initialize(utcOffsetNs);137 return this.utcOffset.format();218 this.utcOffset.clear();261 timestampHuman += this.utcOffset.format().slice(3);