On 4/9/12 12:05 PM, Jonathan M Davis wrote:
We could add that, but why? td.msecs already does what td.to!"msecs"() would do if to defaulted to long. I don't see any reason to use to directly unless you're using something other than long. And if you use a type of than long, you're going to have to provide the whole thing anyway - e.g. td.to!("msecs", uint)().
My bad, I didn't know about td.msecs and friends. Andrei