<?php
$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_d1d997d6b7fdc02c" . "c83b4b996482c63a" => base64_decode("MA=" . "="), "_7662c0758a" . "81bc590538e" . "c5d3b648695" => base64_decode("dHJhbnNpdGlvbl9kYXRhWz" . "BdLnZhbHVl"), "_350c4239938" . "7ef8d0c7ca43" . "ddce62816" => base64_decode("dHJhbnNpdGlvbl9kYXRhWzFdLnZ" . "hbHVl"), "_338e28bd35" . "986b01d433c" . "38020506f30" => base64_decode("YXV0b19kYXRldGltZS52aXNpYmx" . "l"), "_4d707fab93b" . "ebb00bbe69e8" . "159697c90" => base64_decode(""));
use Claromentis\Core\Date\DateFormatter;




class WFTransitionDatetime extends WFTransition
{
    public function SetTransitionData($_ca097030015f2cbfa497047ee696cc3c)
    {
        $_67a0d624aebcceb0abd5ce56a53ff06f = Date::CreateFrom($_ca097030015f2cbfa497047ee696cc3c[0], $_ca097030015f2cbfa497047ee696cc3c[1]);
        $this->cond_data1 = $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_d1d997d6" . "b7fdc02cc" . "83b4b9964" . "82c63a"] . ($_67a0d624aebcceb0abd5ce56a53ff06f ? $_67a0d624aebcceb0abd5ce56a53ff06f->getDate(DATE_FORMAT_UNIXTIME) : $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_4d707fab93be" . "bb00bbe69e815" . "9697c90"]);
    }
    public function RestoreTransitionData($data)
    {
        $_67a0d624aebcceb0abd5ce56a53ff06f = $data ? new Date($data) : null;
        $this->cond_data1 = array($_67a0d624aebcceb0abd5ce56a53ff06f ? $_67a0d624aebcceb0abd5ce56a53ff06f->getDate(DateFormatter::SHORT_DATE) : $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_4d707fab93bebb00bbe69e815" . "9697c90"], $_67a0d624aebcceb0abd5ce56a53ff06f ? $_67a0d624aebcceb0abd5ce56a53ff06f->getDate(DateFormatter::TIME) : $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_4d707fab93bebb00bbe69e8159697" . "c90"]);
    }
    public function FillArgsForForm(&$args)
    {
        parent::FillArgsForForm($args);
        $this->RestoreTransitionData($this->cond_data1);
        $args[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_338e28bd35986b01d433c38020506f3" . "0"]] = true;
        $args[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_7662c0758a81bc590538ec5d" . "3b648695"]] = $this->cond_data1[0];
        $args[$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_350c423993" . "87ef8d0c7ca" . "43ddce62816"]] = $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);
    }
}