3 declare(strict_types=1);
    15     $f = $DIC[
'ui.factory'];
    16     $r = $DIC[
'ui.renderer'];
    17     $df = new \ILIAS\Data\Factory();
    18     $current_user = $DIC[
'ilUser'];
    21         'd1' => 
$f->table()->column()->timeSpan(
"German Long", $df->dateFormat()->germanLong()),
    22         'd2' => 
$f->table()->column()->timeSpan(
"Time Only", $df->dateFormat()->custom()->hours24()->colon()->minutes()->get()),
    23         'd3' => 
$f->table()->column()->timeSpan(
"User Preference", $current_user->getDateFormat()),
    26     $data_retrieval = 
new class () implements 
I\DataRetrieval {
    27         public function getRows(
    28             I\DataRowBuilder $row_builder,
    29             array $visible_column_ids,
    33             ?array $additional_parameters
    36             $dat = new \DateTimeImmutable();
    39                 'd1' => [$dat, $dat2],
    40                 'd2' => [$dat, $dat2],
    41                 'd3' => [$dat, $dat2],
    43             yield $row_builder->buildDataRow($row_id, $record);
    46         public function getTotalRowCount(
    48             ?array $additional_parameters
    54     $table = 
$f->table()->data(
'TimeSpan Columns', $columns, $data_retrieval)
    55         ->withRequest($DIC->http()->request());
    56     return $r->render($table);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Both the subject and the direction need to be specified when expressing an order. ...
 
A simple class to express a range of whole positive numbers.