function __construct($inputArray)
 {
     parent::__construct($inputArray);
     switch ($this->value) {
         case 0:
             $this->value = false;
             break;
         case 1:
             $this->value = true;
             break;
     }
 }
 function __construct($inputArray)
 {
     if (\is_array($inputArray)) {
         $temp_value = $inputArray[$this->getFieldName()];
         if (\is_null($temp_value)) {
             $this->hour = new \class_dir\param_dir\date_time\Hour_Input(null);
             $this->minute = new \class_dir\param_dir\date_time\Minute_Input(null);
             $this->second = new \class_dir\param_dir\date_time\Second_Input(null);
         } else {
             if (\strcmp(\gettype($temp_value), "string") == 0) {
                 $this->init_from_string($temp_value);
             } else {
                 //type array
                 parent::__construct($inputArray);
                 $this->init_value();
             }
         }
     } else {
         // is string
         $this->init_from_string($inputArray);
     }
 }
 function __construct($inputArray)
 {
     if (\is_array($inputArray)) {
         $temp_value = $inputArray[$this->getFieldName()];
         if (\is_null($temp_value)) {
             $this->year = new \class_dir\param_dir\date_time\Year_Input(null);
             $this->month = new \class_dir\param_dir\date_time\Month_Input(null);
             $this->date = new \class_dir\param_dir\date_time\Date_Input(null);
         } else {
             if (\strcmp(\gettype($temp_value), "string") == 0) {
                 $this->init_from_string($temp_value);
             } else {
                 //type array
                 parent::__construct($inputArray);
                 $this->init_value();
             }
         }
     } else {
         // is string
         $this->init_from_string($inputArray);
     }
     //$this->value = $inputArray[$this->getFieldName()];
 }