19declare(strict_types=1);
63 public function importFromECS(
string $a_ecs_type, $a_value,
string $a_sub_id): bool
66 switch ($a_ecs_type) {
75 $this->
getADT()->setDate($value);
89 if (!($a_value[
'lower'] ??
false) || !($a_value[
'upper'])) {
92 if ($a_value[
'lower'] ??
false) {
95 if ($a_value[
'upper'] ??
false) {
ADT definition base class.
AMD field type date time.
getLuceneSearchString($a_value)
Get search string in lucene syntax.with php 8 support change parameter to union type
importFromECS(string $a_ecs_type, $a_value, string $a_sub_id)
Import meta data from ECS.
importValueFromXML(string $a_cdata)
Import value from xml.
getValueForXML(ilADT $element)
Parse ADT value for xml (export)
initADTDefinition()
Init adt instance.
AMD field abstract base class.
static parseIncomingDate($value, bool $add_time=false)
Try to parse incoming value to date object.
@classDescription Date and time handling
Representation of ECS EContent Time Place.