@@ -160,7 +160,9 @@ private static function validateTimeZone($timeZone)
160
160
}
161
161
162
162
/**
163
- * @param mixed $value
163
+ * @param mixed $value Converts a date/time in ISO-8601 standard format date string to an Excel
164
+ * serialized timestamp.
165
+ * See https://en.wikipedia.org/wiki/ISO_8601 for details of the ISO-8601 standard format.
164
166
*
165
167
* @return float|int
166
168
*/
@@ -194,8 +196,8 @@ public static function convertIsoDate($value)
194
196
*
195
197
* @param float|int $excelTimestamp MS Excel serialized date/time value
196
198
* @param null|DateTimeZone|string $timeZone The timezone to assume for the Excel timestamp,
197
- * if you don't want to treat it as a UTC value
198
- * Use the default (UTC) unless you absolutely need a conversion
199
+ * if you don't want to treat it as a UTC value
200
+ * Use the default (UTC) unless you absolutely need a conversion
199
201
*
200
202
* @return DateTime PHP date/time object
201
203
*/
@@ -243,8 +245,8 @@ public static function excelToDateTimeObject($excelTimestamp, $timeZone = null)
243
245
*
244
246
* @param float|int $excelTimestamp MS Excel serialized date/time value
245
247
* @param null|DateTimeZone|string $timeZone The timezone to assume for the Excel timestamp,
246
- * if you don't want to treat it as a UTC value
247
- * Use the default (UTC) unless you absolutely need a conversion
248
+ * if you don't want to treat it as a UTC value
249
+ * Use the default (UTC) unless you absolutely need a conversion
248
250
*
249
251
* @return int Unix timetamp for this date/time
250
252
*/
@@ -395,7 +397,7 @@ public static function isDateTime(Cell $cell, $value = null, bool $dateWithoutTi
395
397
}
396
398
397
399
/**
398
- * Is a given number format a date/time?
400
+ * Is a given NumberFormat code a date/time format code ?
399
401
*
400
402
* @return bool
401
403
*/
0 commit comments