Procs
func resolution(_: _`gensym1694498904:type): timedelta
- Source Edit
func timedelta(days: FI = 0; seconds: FI = 0; microseconds: FI = 0; milliseconds: FI = 0; minutes: FI = 0; hours: FI = 0; weeks: FI = 0): timedelta
- Source Edit
func timedelta(days: int64; seconds = 0'i64; microseconds = 0'i64; milliseconds = 0'i64; minutes = 0'i64; hours = 0'i64; weeks = 0'i64): timedelta {....raises: [], tags: [], forbids: [].}
-
timedelta with int-only arguments
See timedelta that accepts mixin float and int as arguments
Hint: if setting default value for days(a.k.a. days=0), timedelta() will fail to be compiled due to ambiguous callSource Edit func total_seconds(self: timedelta): float {....raises: [], tags: [], forbids: [].}
- timedelta.total_seconds() Source Edit