Home
last modified time | relevance | path

Searched defs:splitSpan (Results 1 – 3 of 3) sorted by relevance

/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/hledger-lib-1.19/Hledger/Data/
H A DDates.hs204 splitSpan _ (DateSpan Nothing Nothing) = [DateSpan Nothing Nothing] function
205 splitSpan _ s | isEmptySpan s = [] function
206 splitSpan NoInterval s = [s] function
207 splitSpan (Days n) s = splitspan startofday (applyN n nextday) s function
208 splitSpan (Weeks n) s = splitspan startofweek (applyN n nextweek) s function
209 splitSpan (Months n) s = splitspan startofmonth (applyN n nextmonth) s function
210 splitSpan (Quarters n) s = splitspan startofquarter (applyN n nextquarter) s function
211 splitSpan (Years n) s = splitspan startofyear (applyN n nextyear) s function
212 splitSpan (DayOfMonth n) s = splitspan (nthdayofmonthcontaining n) (nthdayofmonth n . nextmonth) s function
213 splitSpan (WeekdayOfMonth n wd) s = splitspan (nthweekdayofmonthcontaining n wd) (advancetonthweekd… function
[all …]
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/hledger-lib-1.19/Hledger/Data/
H A DDates.hs204 splitSpan _ (DateSpan Nothing Nothing) = [DateSpan Nothing Nothing] function
205 splitSpan _ s | isEmptySpan s = [] function
206 splitSpan NoInterval s = [s] function
207 splitSpan (Days n) s = splitspan startofday (applyN n nextday) s function
208 splitSpan (Weeks n) s = splitspan startofweek (applyN n nextweek) s function
209 splitSpan (Months n) s = splitspan startofmonth (applyN n nextmonth) s function
210 splitSpan (Quarters n) s = splitspan startofquarter (applyN n nextquarter) s function
211 splitSpan (Years n) s = splitspan startofyear (applyN n nextyear) s function
212 splitSpan (DayOfMonth n) s = splitspan (nthdayofmonthcontaining n) (nthdayofmonth n . nextmonth) s function
213 splitSpan (WeekdayOfMonth n wd) s = splitspan (nthweekdayofmonthcontaining n wd) (advancetonthweekd… function
[all …]
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/hledger-lib-1.19.1/Hledger/Data/
H A DDates.hs204 splitSpan _ (DateSpan Nothing Nothing) = [DateSpan Nothing Nothing] function
205 splitSpan _ s | isEmptySpan s = [] function
206 splitSpan NoInterval s = [s] function
207 splitSpan (Days n) s = splitspan startofday (applyN n nextday) s function
208 splitSpan (Weeks n) s = splitspan startofweek (applyN n nextweek) s function
209 splitSpan (Months n) s = splitspan startofmonth (applyN n nextmonth) s function
210 splitSpan (Quarters n) s = splitspan startofquarter (applyN n nextquarter) s function
211 splitSpan (Years n) s = splitspan startofyear (applyN n nextyear) s function
212 splitSpan (DayOfMonth n) s = splitspan (nthdayofmonthcontaining n) (nthdayofmonth n . nextmonth) s function
213 splitSpan (WeekdayOfMonth n wd) s = splitspan (nthweekdayofmonthcontaining n wd) (advancetonthweekd… function
[all …]