Login   Register  
PHP Classes
elePHPant
Icontem

What does this class offer, thats not in the DateTime-Class o...

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Timezone Converter  >  All threads  >  What does this class offer, thats not in the DateTime-Class o...  >  (Un) Subscribe thread alerts  
Subject:What does this class offer, thats not in the DateTime-Class o...
Summary:Package rating comment
Messages:3
Author:Ralf Mike Pretzlaw
Date:2009-04-04 10:38:57
Update:2009-04-05 13:39:33
 

Ralf Mike Pretzlaw rated this package as follows:

Utility: Bad
Consistency: Not sure
Documentation: Not sure
Examples: Insufficient

  1. What does this class offer, thats not in the DateTime-Class o...   Reply   Report abuse  
Picture of Ralf Mike Pretzlaw
Ralf Mike Pretzlaw
2009-04-04 10:38:57
What does this class offer, thats not in the DateTime-Class of PHP?
http://de2.php.net/manual/de/class.datetime.php

  2. Re: What does this class offer, thats not in the DateTime-Class   Reply   Report abuse  
Picture of Utsav Handa
Utsav Handa
2009-04-05 09:17:56 - In reply to message 1 from Ralf Mike Pretzlaw
This class provides simple API for converting between various timezones without needing
any non-common moduls. PHP DataTime object isn't available before PHP 5.2, therefore this
class is useful for people using slightly lower PHP versions.

Hopefully, this class would be beneficial for someone else too.

  3. Re: What does this class offer, thats not in the DateTime-Class   Reply   Report abuse  
Picture of Ralf Mike Pretzlaw
Ralf Mike Pretzlaw
2009-04-05 13:39:33 - In reply to message 2 from Utsav Handa
Ok.
Isn't "private", "public", "protected" only supported since 5.0 ?
This would the class make expedient for 5.0 to 5.2 (or even 5.1 if someone like to work with the experimental DateTime-Class).
I suggest that you don't use these keywords, so it will also be capable for deprecated versions like 4.0 ;)