Your view on process...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a Date/Calendar Class, and I'd like to know your view on
something.

When a new Object is created, Month, Day, Year, Hour, Minute, Seconds,
TZ are defined (if given).

But I have several other methods that give more info on the Date...

  * getEnglishOrdinal()  - 1st, 2nd, etc
  * getMonthShortName()  - Oct
  * getMonthLongName()   - October
  * getDayShortName()    - Sun
  * getDayLongName()     - Sunday
  * etc...

My question, should these values be set when Object is created?

Or create these values on demand, since most will not be used at any
given time?

Can you think of any pros/cons either way?

Thanks

Walter

PS: Current state of documentation on this class can be see at...

    http://web.torres.ws/dev/php

    The class is not there yet, I'm trying to finish a few things first
    before the prelim is made available




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux