Changeset 4e08a54 for libcfa/src/time.hfa
- Timestamp:
- Apr 19, 2024, 12:01:34 PM (3 months ago)
- Branches:
- master
- Children:
- b9b6efb
- Parents:
- da87eaf (diff), 02c80cdc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/time.hfa
rda87eaf r4e08a54 10 10 // Created On : Wed Mar 14 23:18:57 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Oct 8 09:07:48 202213 // Update Count : 6 6812 // Last Modified On : Thu Apr 18 12:07:21 2024 13 // Update Count : 670 14 14 // 15 15 … … 84 84 Duration ?`m( int64_t min ) { return (Duration)@{ min * (60LL * TIMEGRAN) }; } 85 85 Duration ?`m( double min ) { return (Duration)@{ min * (60LL * TIMEGRAN) }; } 86 Duration ?`h( int64_t hour s ) { return (Duration)@{ hours* (60LL * 60LL * TIMEGRAN) }; }87 Duration ?`h( double hour s ) { return (Duration)@{ hours* (60LL * 60LL * TIMEGRAN) }; }88 Duration ?`d( int64_t day s ) { return (Duration)@{ days* (24LL * 60LL * 60LL * TIMEGRAN) }; }89 Duration ?`d( double day s ) { return (Duration)@{ days* (24LL * 60LL * 60LL * TIMEGRAN) }; }90 Duration ?`w( int64_t week s ) { return (Duration)@{ weeks* (7LL * 24LL * 60LL * 60LL * TIMEGRAN) }; }91 Duration ?`w( double week s ) { return (Duration)@{ weeks* (7LL * 24LL * 60LL * 60LL * TIMEGRAN) }; }86 Duration ?`h( int64_t hour ) { return (Duration)@{ hour * (60LL * 60LL * TIMEGRAN) }; } 87 Duration ?`h( double hour ) { return (Duration)@{ hour * (60LL * 60LL * TIMEGRAN) }; } 88 Duration ?`d( int64_t day ) { return (Duration)@{ day * (24LL * 60LL * 60LL * TIMEGRAN) }; } 89 Duration ?`d( double day ) { return (Duration)@{ day * (24LL * 60LL * 60LL * TIMEGRAN) }; } 90 Duration ?`w( int64_t week ) { return (Duration)@{ week * (7LL * 24LL * 60LL * 60LL * TIMEGRAN) }; } 91 Duration ?`w( double week ) { return (Duration)@{ week * (7LL * 24LL * 60LL * 60LL * TIMEGRAN) }; } 92 92 93 93 int64_t ?`ns( Duration dur ) { return dur.tn; }
Note: See TracChangeset
for help on using the changeset viewer.