src/Element/Time.php
public function getInputSpecification()
    {
        $dateValidator     = $this->getDateValidator();
        $dateValidatorName = get_class($dateValidator);

        return [
            'name'       => $this->getName(),
            'required'   => true,
            'filters'    => [
                Filter\StringTrim::class    => [
                    'name' => Filter\StringTrim::class
                ],
                Filter\StripNewlines::class => [
                    'name' => Filter\StripNewlines::class
                ],
                Filter\StripTags::class     => [
                    'name' => Filter\StripTags::class
                ],
                TimeToDateTime::class       => [
                    'name'    => TimeToDateTime::class,
                    'options' => [
                        'time_format' => $this->getFormat()
                    ]
                ]
            ],
            'validators' => [
                $dateValidatorName => $dateValidator
            ]
        ];
    }
public function getInputSpecification()
    {
        $dateValidator     = $this->getDateValidator();
        $dateValidatorName = get_class($dateValidator);

        return [
            'name'       => $this->getName(),
            'required'   => true,
            'filters'    => [
                Filter\StringTrim::class    => [
                    'name' => Filter\StringTrim::class
                ],
                Filter\StripNewlines::class => [
                    'name' => Filter\StripNewlines::class
                ],
                Filter\StripTags::class     => [
                    'name' => Filter\StripTags::class
                ],
                TimeToDateTime::class       => [
                    'name'    => TimeToDateTime::class,
                    'options' => [
                        'time_format' => $this->getFormat()
                    ]
                ]
            ],
            'validators' => [
                $dateValidatorName => $dateValidator
            ]
        ];
    }
Provide default input rules for this element and attaches default validators for the Date input.

@return array