__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace OpenSpout\Common\Entity\Cell;
use DateInterval;
use OpenSpout\Common\Entity\Cell;
use OpenSpout\Common\Entity\Style\Style;
final class DateIntervalCell extends Cell
{
private readonly DateInterval $value;
/**
* For Excel make sure to set a format onto the style (Style::setFormat()) with the left most unit enclosed with
* brackets: '[h]:mm', '[hh]:mm:ss', '[m]:ss', '[s]', etc.
* This makes sure excel knows what to do with the remaining time that exceeds this unit. Without brackets Excel
* will interpret the value as date time and not duration if it is greater or equal 1.
*/
public function __construct(DateInterval $value, ?Style $style)
{
$this->value = $value;
parent::__construct($style);
}
public function getValue(): DateInterval
{
return $this->value;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| BooleanCell.php | File | 445 B | 0777 |
|
| DateIntervalCell.php | File | 900 B | 0777 |
|
| DateTimeCell.php | File | 508 B | 0777 |
|
| EmptyCell.php | File | 452 B | 0777 |
|
| ErrorCell.php | File | 526 B | 0777 |
|
| FormulaCell.php | File | 704 B | 0777 |
|
| NumericCell.php | File | 460 B | 0777 |
|
| StringCell.php | File | 450 B | 0777 |
|