diff options
| author | Derick Rethans <derick@php.net> | 2006-11-03 07:27:52 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2006-11-03 07:27:52 +0000 |
| commit | 7b48ca584c4ba36984bb819af82d6a74f77f4e7a (patch) | |
| tree | 06243347e7c72fb62505f01eee14d2a50d75488b /README.UPDATE_5_2 | |
| parent | 501025306c4ff2ef83a00cfddc373727483889f1 (diff) | |
| download | php-git-7b48ca584c4ba36984bb819af82d6a74f77f4e7a.tar.gz | |
- Fixed API in doc.
Diffstat (limited to 'README.UPDATE_5_2')
| -rw-r--r-- | README.UPDATE_5_2 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/README.UPDATE_5_2 b/README.UPDATE_5_2 index bdb474a005..4470a23f4c 100644 --- a/README.UPDATE_5_2 +++ b/README.UPDATE_5_2 @@ -541,34 +541,34 @@ New classes Methods: DateTime::__construct([string time[, DateTimeZone object]]) - Returns new DateTime object - string DateTime::format(DateTime object, string format) + string DateTime::format(string format) - Returns date formatted according to given format - long DateTime::getOffset(DateTime object) + long DateTime::getOffset() - Returns the DST offset - DateTimeZone DateTime::getTimezone(DateTime object) + DateTimeZone DateTime::getTimezone() - Return new DateTimeZone object relative to give DateTime - void DateTime::modify(DateTime object, string modify) + void DateTime::modify(string modify) - Alters the timestamp array DateTime::parse(string date) - Returns associative array with detailed info about given date - void DateTime::setDate(DateTime object, long year, long month, long day) + void DateTime::setDate(long year, long month, long day) - Sets the date - void DateTime::setISODate(DateTime object, long year, long week[, long day]) + void DateTime::setISODate(long year, long week[, long day]) - Sets the ISO date - void DateTime::setTime(DateTime object, long hour, long minute[, long second]) + void DateTime::setTime(long hour, long minute[, long second]) - Sets the time - void DateTime::setTimezone(DateTime object, DateTimeZone object) + void DateTime::setTimezone(DateTimeZone object) - Sets the timezone for the DateTime object DateTimeZone: Methods: DateTimeZone DateTimeZone::__construct(string timezone) - Returns new DateTimeZone object - string DateTimeZone::getName(DateTimeZone object) + string DateTimeZone::getName() - Returns the name of the timezone - long DateTimeZone::getOffset(DateTimeZone object, DateTime object) + long DateTimeZone::getOffset(DateTime object) - Returns the timezone offset - array DateTimeZone::getTransitions(DateTimeZone object) + array DateTimeZone::getTransitions() - Returns numerically indexed array containing associative array for all transitions for the timezone RecursiveRegexIterator: |
