date stuff in gnucash
James LewisMoss
dres@phoenixdsl.com
27 Nov 2000 21:50:18 -0500
OK.
I need some complex time/date manipulation functions to deal with
budgeting.
So far it looks like there are two scheme files in the dist that deal
with dates:
src/scm/date-utilities.scm
src/scm/srfi/srfi-19.scm
srfi-19.scm doesn't contain all of the srfi #19 example implementation
and I was wondering why.
Anyway. Here's the notes I have so far on what I need:
Types of dates:
Abstract: Not a real date or relative date. This is for things like
"The last monday in a month". It's a date, but it's not a real date.
Relative: A date diff. "Two weeks later". "Two weeks earlier" etc.
Absolute: A real date.
There are also ranges of each date #<'Range #<'Abstract "three days
before end of month"> #<'Abstract "two days after begining of month">>
etc.
Plus all the fun comparison, adding, subtracting, dealies.
Leaving out a bit here that isn't necessary yet.
Any thoughts? Anything missing?
Jim
--
@James LewisMoss <dres@debian.org> | Blessed Be!
@ http://jimdres.home.mindspring.com | Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach