<?php
$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] ?: array()) + array("_350c42399" . "387ef8d0c7" . "ca43ddce62" . "816" => base64_decode("dHJhbnNpdGlvbl9kYXRhWzFdLnZhb" . "HVl"), "_4d707fab93bebb00bbe6" . "9e8159697c90" => base64_decode(""), "_338e28bd3" . "5986b01d43" . "3c38020506" . "f30" => base64_decode("YXV0b19kYXRl" . "dGltZS52aXNp" . "Ymxl"), "_d1d997d6b7fdc" . "02cc83b4b99648" . "2c63a" => base64_decode("MA" . "=="), "_7662c0758a81bc59" . "0538ec5d3b648695" => base64_decode("dHJhbnNpdGlvbl9kYXRhWzBdLnZhbHV" . "l"));
use Claromentis\Core\Date\DateFormatter;




class WFTransitionDatetime extends WFTransition
{
    public function SetTransitionData($_ca097030015f2cbfa497047ee696cc3c)
    {
        $_67a0d624aebcceb0abd5ce56a53ff06f = Date::CreateFrom($_ca097030015f2cbfa497047ee696cc3c[0], $_ca097030015f2cbfa497047ee696cc3c[1]);
        $this->cond_data1 = $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_d1d997d" . "6b7fdc02" . "cc83b4b9" . "96482c63" . "a"] . ($_67a0d624aebcceb0abd5ce56a53ff06f ? $_67a0d624aebcceb0abd5ce56a53ff06f->getDate(DATE_FORMAT_UNIXTIME) : $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_4d707fab93be" . "bb00bbe69e815" . "9697c90"]);
    }
    public function RestoreTransitionData($data)
    {
        $_67a0d624aebcceb0abd5ce56a53ff06f = $data ? new Date($data) : null;
        $this->cond_data1 = array($_67a0d624aebcceb0abd5ce56a53ff06f ? $_67a0d624aebcceb0abd5ce56a53ff06f->getDate(DateFormatter::SHORT_DATE) : $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_4d707fab93bebb00bbe69e8159" . "697c90"], $_67a0d624aebcceb0abd5ce56a53ff06f ? $_67a0d624aebcceb0abd5ce56a53ff06f->getDate(DateFormatter::TIME) : $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_4d707fab93bebb00bbe69e8" . "159697c90"]);
    }
    public function FillArgsForForm(&$args)
    {
        parent::FillArgsForForm($args);
        $this->RestoreTransitionData($this->cond_data1);
        $args[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_338e28bd35986b01d433c3" . "8020506f30"]] = true;
        $args[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_7662c0758a81bc590538ec5d3b64" . "8695"]] = $this->cond_data1[0];
        $args[$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_350c42399387e" . "f8d0c7ca43ddce" . "62816"]] = $this->cond_data1[1];
    }
    public function IsConditionMatch(ERMSDataObj $_fc4ffcaec4dff19ed04cc1c9229222d1)
    {
        $this->cond_data1 = new Date($this->cond_data1);
        $_d230962d9a57dc6ba2b774d9ba3bb81e = new Date();
        return !$this->cond_data1->after($_d230962d9a57dc6ba2b774d9ba3bb81e);
    }
}