//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private org.neo4j.values.storable.TimeValue unpackTime() throws java.io.IOException internal virtual TimeValue UnpackTime() { long nanosOfDayLocal = UnpackLong(); int offsetSeconds = UnpackInteger(); return(time(TemporalUtil.nanosOfDayToUTC(nanosOfDayLocal, offsetSeconds), ZoneOffset.ofTotalSeconds(offsetSeconds))); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public final void writeTime(java.time.OffsetTime offsetTime) throws E public override void WriteTime(OffsetTime offsetTime) { long nanosOfDayUTC = TemporalUtil.getNanosOfDayUTC(offsetTime); int offsetSeconds = offsetTime.Offset.TotalSeconds; WriteTime(nanosOfDayUTC, offsetSeconds); }
private TimeValue(OffsetTime value) { this._value = value; this._nanosOfDayUTC = TemporalUtil.getNanosOfDayUTC(this._value); }