protected function doesNumFmtIdIndicateDate($numFmtId)
    {
        if (!isset($this->numFmtIdToIsDateFormatCache[$numFmtId])) {
            $formatCode = $this->getFormatCodeForNumFmtId($numFmtId);

            $this->numFmtIdToIsDateFormatCache[$numFmtId] = (
                $this->isNumFmtIdBuiltInDateFormat($numFmtId) ||
                $this->isFormatCodeCustomDateFormat($formatCode)
            );
        }

        return $this->numFmtIdToIsDateFormatCache[$numFmtId];
    }
protected function doesNumFmtIdIndicateDate($numFmtId)
    {
        if (!isset($this->numFmtIdToIsDateFormatCache[$numFmtId])) {
            $formatCode = $this->getFormatCodeForNumFmtId($numFmtId);

            $this->numFmtIdToIsDateFormatCache[$numFmtId] = (
                $this->isNumFmtIdBuiltInDateFormat($numFmtId) ||
                $this->isFormatCodeCustomDateFormat($formatCode)
            );
        }

        return $this->numFmtIdToIsDateFormatCache[$numFmtId];
    }
protected function doesNumFmtIdIndicateDate ( $ numFmtId ) { if ( ! isset ( $ this -> numFmtIdToIsDateFormatCache [ $ numFmtId ] ) ) { $ formatCode = $ this -> getFormatCodeForNumFmtId ( $ numFmtId ) ; $ this -> numFmtIdToIsDateFormatCache [ $ numFmtId ] = ( $ this -> isNumFmtIdBuiltInDateFormat ( $ numFmtId ) || $ this -> isFormatCodeCustomDateFormat ( $ formatCode ) ) ; } return $ this -> numFmtIdToIsDateFormatCache [ $ numFmtId ] ; }
Returns whether the number format ID indicates that the number is a date.
The result is cached to avoid recomputing the same thing over and over, as
"numFmtId" attributes can be shared between multiple styles.

@param int $numFmtId
@return bool Whether the number format ID indicates that the number is a date
Returns whether the number format ID indicates that the number is a date . The result is cached to avoid recomputing the same thing over and over as numFmtId attributes can be shared between multiple styles .