>More possible improvements ? :
>
>Return a DateTimeSpan regardless of the parameter order.
>i.e if first parameter is the later date still return the same difference (or possibly a 'negative' DateTimeSpan)
>
hmmm - I like the parameter order - one is supposed to know what one is doing - too much foxpro like
Could add an optional parameter ( bool ) and work with min/max - but don't like that either
A negative one - thought about that - add a sign ?
>Make GetDateDiff logic available as an extension method of DateTime
>e.g. DateTimeSpan dts = myDate.DateDiff(DateTime.Now);
yes -
When time permits - playtime is suspended - want that xbrl stuff out as soon as I can
A change I did this morning - could not resist - was to make all the set-accessors private - seemed like a good thing to do
And there must be other things to do I don't see at the moment: There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy
But at the very least - it's an interesting excercise
Gregory