On Sun, 12 Jan 2003, Matthew Simon Cavalletto wrote:
> I was originally unenthusiastic about static date-time objects, but
> then I realized that it'd be reasonably straightforward to build a
> variable wrapper object, which could then be used to hold a series of
> static objects:
Ack, too much c
On Sunday, January 12, 2003, at 02:36 PM, Matthew Simon Cavalletto
wrote:
If not, it'd presumably be easy to stick an updating decorator in
front of it, using the same type of structure as in the "dynamic
wrapper for static objects" class I proposed earlier.
$dth->hour(17);
# Really calls
On Sunday, January 12, 2003, at 05:27 PM, Dave Rolsky wrote:
On Sun, 12 Jan 2003, Matthew Simon Cavalletto wrote:
Ick. That's clearly not as nice as just saying $dt->hour(17).
Whether this method is an updater is an entirely different can of
worms ;)
If not, it'd presumably be easy to stic
On January 12, 2003, at 07:29 AM, Antonios Christofides wrote:
(b) It's faster to use
($year, $month, $day) = datetime_object -> strftime('%Y', '%m',
'%d');
than
$year = datetime_object->year;
$month = datetime_object->month;
$day = datetime_object->day;
because i