问题
Is there an equivalent of C#'s TimeSpan in Microsoft Bond?
回答1:
There is no builtin type for C#'s TimeSpan
, but you can use custom type mapping to achieve the same result. See this official example for DateTime.
来源:https://stackoverflow.com/questions/39492730/implementing-an-equivalent-of-c-sharp-timespan-in-microsoft-bond