Home
last modified time | relevance | path

Searched refs:periodIndex (Results 1 - 1 of 1) sorted by relevance

/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBUtil.php419 $periodIndex = strpos($timestamp, "."); variable
420 if ($periodIndex !== false) {
424 for ($i = $periodIndex + 1, $length = strlen($timestamp); $i < $length; $i++) {
426 $nanosecondsLength = $i - ($periodIndex + 1);
437 $nanoseconds = substr($timestamp, $periodIndex + 1, $nanosecondsLength);
441 $date = substr($timestamp, 0, $periodIndex);
442 $timezone = substr($timestamp, $periodIndex + $nanosecondsLength + 1);

Completed in 2 milliseconds