From bd01dfabdad755b9b3181220fd205fc83afc2892 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sat, 29 Nov 2008 12:36:10 -0600 Subject: [PATCH] move a few time util words to calendar --- extra/taxes/usa/usa-tests.factor | 2 +- extra/taxes/utils/utils.factor | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 extra/taxes/utils/utils.factor diff --git a/extra/taxes/usa/usa-tests.factor b/extra/taxes/usa/usa-tests.factor index a529762c81..002299fef1 100644 --- a/extra/taxes/usa/usa-tests.factor +++ b/extra/taxes/usa/usa-tests.factor @@ -1,6 +1,6 @@ USING: kernel money tools.test taxes.usa taxes.usa.federal taxes.usa.mn -taxes.utils taxes.usa.w4 usa-cities ; +calendar taxes.usa.w4 usa-cities ; IN: taxes.usa.tests [ diff --git a/extra/taxes/utils/utils.factor b/extra/taxes/utils/utils.factor deleted file mode 100644 index a5c2240625..0000000000 --- a/extra/taxes/utils/utils.factor +++ /dev/null @@ -1,10 +0,0 @@ -! Copyright (C) 2008 Doug Coleman. -! See http://factorcode.org/license.txt for BSD license. -USING: math ; -IN: taxes.utils - -: monthly ( x -- y ) 12 / ; -: semimonthly ( x -- y ) 24 / ; -: biweekly ( x -- y ) 26 / ; -: weekly ( x -- y ) 52 / ; -: daily ( x -- y ) 360 / ;