Re: Python's 'DateTime'

2003-07-30 Thread Rick Measham
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Dave Rolsky) wrote:
  Gregorian Calendar from Calendrical Calculations that requires 'DateTime'
  http://www.python.org/doc/2.3/lib/module-calendar.html
 
 Sort of Gregorian, also a grab bag of random stuff, like monthcalendar,
 which returns a matrix representing a month's calendar.
 
 Actually, that latter bit is kind of neat.  Wonder if we need it.

Months ago I posted the beginings of a module that I called 
DateTime::Format::Calendar. The discussion that followed was that 
'format' was the wrong namespace, but the conversation ended there.
 (http://nntp.x.perl.org/group/perl.datetime/2488)

I'm happy to continue working on this, and will upload it somewhere, but 
I need a name.

Cheers!
Rick 

([EMAIL PROTECTED])
([EMAIL PROTECTED])
([EMAIL PROTECTED] is not working)


Re: Python's 'DateTime'

2003-07-30 Thread Ben Bennett
DateTime::Display::Calendar or
DateTime::Display::Calendar::Text (vs. HTML, etc.)

?

   -ben


On Tue, Jul 29, 2003 at 10:46:59PM -1000, Joshua Hoblitt wrote:
  Months ago I posted the beginings of a module that I called
  DateTime::Format::Calendar. The discussion that followed was that
  'format' was the wrong namespace, but the conversation ended there.
   (http://nntp.x.perl.org/group/perl.datetime/2488)
 
  I'm happy to continue working on this, and will upload it somewhere, but
  I need a name.
 
 DateTime::Calendar::Gregorian::Month?
 
 -J
 
 --


Python's 'DateTime'

2003-07-29 Thread Joshua Hoblitt
Date/Time type announcement
http://www.python.org/doc/2.3/whatsnew/node18.html#SECTION000181

'DateTime' Object
http://www.python.org/doc/2.3/lib/module-datetime.html

Gregorian Calendar from Calendrical Calculations that requires 'DateTime'
http://www.python.org/doc/2.3/lib/module-calendar.html

'Duration' Object
http://www.python.org/doc/2.3/lib/datetime-timedelta.html

'TimeZone' Object (complete with the EST timezone)
http://www.python.org/doc/2.3/lib/datetime-tzinfo.html

'Incomplete' Date/Time Object
http://www.python.org/doc/2.3/lib/datetime-date.html

'Strftime'
http://www.python.org/doc/2.3/lib/node208.html

-J

--


Re: Python's 'DateTime'

2003-07-29 Thread Joshua Hoblitt
 Date/Time type announcement
 http://www.python.org/doc/2.3/whatsnew/node18.html#SECTION000181

 'DateTime' Object
 http://www.python.org/doc/2.3/lib/module-datetime.html

 Gregorian Calendar from Calendrical Calculations that requires 'DateTime'
 http://www.python.org/doc/2.3/lib/module-calendar.html

 'Duration' Object
 http://www.python.org/doc/2.3/lib/datetime-timedelta.html

 'TimeZone' Object (complete with the EST timezone)
 http://www.python.org/doc/2.3/lib/datetime-tzinfo.html

make that

'Incomplete' Date/Time Objects
http://www.python.org/doc/2.3/lib/datetime-date.html
http://www.python.org/doc/2.3/lib/datetime-time.html


 'Strftime'
 http://www.python.org/doc/2.3/lib/node208.html

-J

--


Re: Python's 'DateTime'

2003-07-29 Thread Dave Rolsky
On Tue, 29 Jul 2003, Joshua Hoblitt wrote:

 'DateTime' Object
 http://www.python.org/doc/2.3/lib/module-datetime.html

No leap seconds.  Years 1 -  only! (why?!).  microsecond resolution.

 Gregorian Calendar from Calendrical Calculations that requires 'DateTime'
 http://www.python.org/doc/2.3/lib/module-calendar.html

Sort of Gregorian, also a grab bag of random stuff, like monthcalendar,
which returns a matrix representing a month's calendar.

Actually, that latter bit is kind of neat.  Wonder if we need it.

 'Duration' Object
 http://www.python.org/doc/2.3/lib/datetime-timedelta.html

No support for months in durations.  lame.

 'TimeZone' Object (complete with the EST timezone)
 http://www.python.org/doc/2.3/lib/datetime-tzinfo.html

Bleah.  This is just an interface.  There's no implementation included,
though last I looked somebody had implemented something that did the _most
recent_ rules, ignoring all historical changes.

 'Incomplete' Date/Time Object
 http://www.python.org/doc/2.3/lib/datetime-date.html

Sort of.

 'Strftime'
 http://www.python.org/doc/2.3/lib/node208.html



They suck, we rule.


-dave

/*===
House Absolute Consulting
www.houseabsolute.com
===*/


Re: Python's 'DateTime'

2003-07-29 Thread Joshua Hoblitt
 They suck, we rule.

I forgot the 'for entertainment purposes only' disclaimer. :)

-J

--


Re: Python's 'DateTime'

2003-07-29 Thread Joshua Hoblitt
Just to be clear - I intended this to be humorous.  I was not truly equating that 
'stuff' to one true DateTime {TM}. :)

Cheers,

-J

--
On Tue, 29 Jul 2003, Joshua Hoblitt wrote:

  Date/Time type announcement
  http://www.python.org/doc/2.3/whatsnew/node18.html#SECTION000181
 
  'DateTime' Object
  http://www.python.org/doc/2.3/lib/module-datetime.html
 
  Gregorian Calendar from Calendrical Calculations that requires 'DateTime'
  http://www.python.org/doc/2.3/lib/module-calendar.html
 
  'Duration' Object
  http://www.python.org/doc/2.3/lib/datetime-timedelta.html
 
  'TimeZone' Object (complete with the EST timezone)
  http://www.python.org/doc/2.3/lib/datetime-tzinfo.html
 
 make that

 'Incomplete' Date/Time Objects
 http://www.python.org/doc/2.3/lib/datetime-date.html
 http://www.python.org/doc/2.3/lib/datetime-time.html

 
  'Strftime'
  http://www.python.org/doc/2.3/lib/node208.html

 -J

 --