internal static void WriteInternal( DateTimeOffset @object, DataOutput output) { var nanos = DateTimeOffsetHelper.UtcNanos(@object); var offset = @object.Offset.Ticks; output.WriteLong(nanos); output.WriteLong(offset); }