From 55c606f274ebeed93884f2eeff65ee889c6152b0 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 2 Mar 2010 04:20:40 -0600 Subject: [PATCH] Remove year/month/day words because they're dumb and confusing --- basis/calendar/calendar.factor | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/basis/calendar/calendar.factor b/basis/calendar/calendar.factor index 1a64ceb646..cd87701aa9 100644 --- a/basis/calendar/calendar.factor +++ b/basis/calendar/calendar.factor @@ -170,18 +170,6 @@ M: timestamp easter ( timestamp -- timestamp ) : microseconds ( x -- duration ) 1000000 / seconds ; : nanoseconds ( x -- duration ) 1000000000 / seconds ; -GENERIC: year ( obj -- n ) -M: integer year ; -M: timestamp year year>> ; - -GENERIC: month ( obj -- n ) -M: integer month ; -M: timestamp month month>> ; - -GENERIC: day ( obj -- n ) -M: integer day ; -M: timestamp day day>> ; - GENERIC: leap-year? ( obj -- ? ) M: integer leap-year? ( year -- ? )