Class | Description |
---|---|
![]() |
Generic time span handling class for PEAR. |
Non Numeric Separated Values (NNSV) Input Format.
Input format guessed from something like this: days<sep>hours<sep>minutes<sep>seconds Where <sep> is any quantity of non numeric chars. If no values are given, time span is set to zero, if one value is given, it's used for hours, if two values are given it's used for hours and minutes and if three values are given, it's used for hours, minutes and seconds.
Examples:
'' -> 0, 0, 0, 0 (days, hours, minutes, seconds)
'12' -> 0, 12, 0, 0 '12.30' -> 0, 12, 30, 0
'12:30:18' -> 0, 12, 30, 18
'3-12-30-18' -> 3, 12, 30, 18
'3 days, 12-30-18' -> 3, 12, 30, 18
'12:30 with 18 secs' -> 0, 12, 30, 18
Documentation generated on Fri, 3 Dec 2004 12:27:36 +0000 by phpDocumentor 1.3.0RC3