RE: I just found your list

2003-09-13 Thread Joshua Hoblitt
> Let me know what I can do, what has been, done, or if I should just sit an
> watch for a while!

You can read our documentation at http://datetime.perl.org/.

The modules, developer, and FAQ sections are key reading.

-J

--


RE: I just found your list

2003-09-13 Thread Walter Torres
> -Original Message-
> From: Dave Rolsky [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2003 5:24 PM
> To: Walter Torres
> Cc: [EMAIL PROTECTED]
> Subject: Re: I just found your list
>
>
> On Fri, 12 Sep 2003, Walter Torres wrote:
>
> > I've been building my own date/time code in JS, Perl and PHP
> for the past 5
> > years.
> >
> > I'd love to get involved with this effort to build a unified date/time
> > library for Perl, and then maybe modify it for PHP.
> >
> > I can I come and play in here too?  ;)
>
> Of course.  What specifically are you interested in?

Well, can't really say.

4 years ago I created my own pseudo-module of date/time methods for my use
in my scripts.

I got tired of building the same code pieces to make standard dates and
time, etc.

At the same time, I built a larger library of methods for my JavaScript
work, since JS was almost as "bad" as Perl with its native date/time
methods.

I've just got into PHP, and found it is in not much better shape! I'm half
through a new PEAR level Object library for PHP as well.

I saw an article on Perl date/time modules and the discussion of this list
and thought I should see what's going on here before I start anew on my Perl
library.

I'm looking a for simple to use, easy to understand, *fully* documented
(that means with real examples) MODule to load and call methods to handle
date/time stuff.

A MODule that create an Object that has *lots* of date of that particular
Date/Time the Object represents. I'd like to see something along the lies of
the PHP Class library I'm making.

Below is the list of methods that my PHP Library (will have) has in it...

  - Date() - copyDate()

  - dateTimeStamp
  - fileDateTImeStamp

  - timeDisplay
  - toMilTime
  - fromMilTime

  - setDate()  - getDate() - getDayOfYear()-
getDaysInMonth()
  - setYear()  - getYear() - getWeekOfYear()   -
getWeeksInMonth()
  - setMonth() - getMonth()- getQuarterOfYear()-
beginOfMonth()
  - setDay()   - getDay()  - getSeasonOfYear() -
beginOfNextMonth()
  - setTime()  - getTime() - getDayName()  -
endOfNextMonth()**
  - setHour()  - getHour() - getDayNameApprv() -
beginOfPrevMonth()**
  - setMinute()- getMinute()   - getMonthName()-
endOfPrevMonth()**
  - setSecond()- getSecond()   - getMonthNameAbbrv()   -
getFirstWeekdayOfMonth()

  - getNextDay() - beginOfWeek()   - setTZ()
  - getPrevDay() - endOfWeek() - setTZbyID()
  - getNextWeekday() - beginOfNextWeek()   - convertTZ()
  - getPrevWeekday() - beginOfPrevWeek()   - convertTZbyID()
  - getNextSunday()- inDaylightTime()
  - getPreviousSunday()
  - getDayOfWeek()

  - addYears()   - compare()  -  getWeekDays()
  - addMonth()   - before()   -  getCalendarWeek()
  - addDays()- after()-  getCalendarMonth()
  - addHours()   - equals()   -  getCalendarYear()
  - addMinutes() - isFuture()
  - addSeconds() - isPast()

  - isLeapYear()   - toJulian()
  - toISO()- fromJulian()
  - fromISO()
  - toUTC()- format()
  - fromUTC()

So, I think something like this.

Nothing that is so tough, I think.

But than again, I'm just nuts enough build it.

If you wish to see my *old* Perl and JavaScript files, you can pull them
down from my web site...

www.tores.ws/dev

I hope this answers your questions

Let me know what I can do, what has been, done, or if I should just sit an
watch for a while!

Thanks

Walter




Re: I just found your list

2003-09-12 Thread Dave Rolsky
On Fri, 12 Sep 2003, Walter Torres wrote:

> I've been building my own date/time code in JS, Perl and PHP for the past 5
> years.
>
> I'd love to get involved with this effort to build a unified date/time
> library for Perl, and then maybe modify it for PHP.
>
> I can I come and play in here too?  ;)

Of course.  What specifically are you interested in?


-dave

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


I just found your list

2003-09-12 Thread Walter Torres
I've been building my own date/time code in JS, Perl and PHP for the past 5
years.

I'd love to get involved with this effort to build a unified date/time
library for Perl, and then maybe modify it for PHP.

I can I come and play in here too?  ;)

Walter