在 Bond 中表示 C# TimeSpan

Representing C# TimeSpan in Bond

Bond 类型系统中是否有 C# 的 TimeSpan 等效项?如果不是,我如何在 TimeSpan 和 Bond 结构中的字段之间进行互操作?

C# 的 TimeSpan 没有内置类型,但您可以使用 custom type mapping to achieve the same result. See this official example for DateTime