def _set_date_part_received(self, date_part_received): if isinstance(date_part_received, datetime): self.date_part_received = date_part_received elif isinstance(date_part_received, str): self.date_part_received = isoStringToDate(date_part_received) elif isinstance(date_part_received, list): self.date_part_received = date_part_received else: self.date_part_received = None
def _set_date_problem_solve(self, date_problem_solve): if isinstance(date_problem_solve, datetime): self.date_problem_solve = date_problem_solve elif isinstance(date_problem_solve, str): self.date_problem_solve = isoStringToDate(date_problem_solve) elif isinstance(date_problem_solve, list): self.date_problem_solve = date_problem_solve else: self.date_problem_solve = None
def _set_date_problem_found(self, date_problem_found): if isinstance(date_problem_found, datetime): self.date_problem_found = date_problem_found elif isinstance(date_problem_found, str): self.date_problem_found = isoStringToDate(date_problem_found) elif isinstance(date_problem_found, list): self.date_problem_found = date_problem_found else: self.date_problem_found = None
def _set_date_maintenance_technician_arrive(self, date_maintenance_technician_arrive): if isinstance(date_maintenance_technician_arrive, datetime): self.date_maintenance_technician_arrive = date_maintenance_technician_arrive elif isinstance(date_maintenance_technician_arrive, str): self.date_maintenance_technician_arrive = isoStringToDate(date_maintenance_technician_arrive) elif isinstance(date_maintenance_technician_arrive, list): self.date_maintenance_technician_arrive = date_maintenance_technician_arrive else: self.date_maintenance_technician_arrive = None
def _set_date_workorder_start(self, date_workorder_start): if isinstance(date_workorder_start, datetime): self.date_workorder_start = date_workorder_start elif isinstance(date_workorder_start, str): self.date_workorder_start = isoStringToDate(date_workorder_start) elif isinstance(date_workorder_start, list): self.date_workorder_start = date_workorder_start else: self.date_workorder_start = None
def _set_date_workorder_completion(self, date_workorder_completion): if isinstance(date_workorder_completion, datetime): self.date_workorder_completion = date_workorder_completion elif isinstance(date_workorder_completion, str): self.date_workorder_completion = isoStringToDate(date_workorder_completion) elif isinstance(date_workorder_completion, list): self.date_workorder_completion = date_workorder_completion else: self.date_workorder_completion = None
def _set_date_machine_up(self, date_machine_up): if isinstance(date_machine_up, datetime): self.date_machine_up = date_machine_up elif isinstance(date_machine_up, str): self.date_machine_up = isoStringToDate(date_machine_up) elif isinstance(date_machine_up,list): self.date_machine_up = date_machine_up else: self.date_machine_up = None
def _set_date_machine_down(self, date_machine_down): if isinstance(date_machine_down, datetime): self.date_machine_down = date_machine_down elif isinstance(date_machine_down, str): self.date_machine_down = isoStringToDate(date_machine_down) elif isinstance(date_machine_down, list): self.date_machine_down = date_machine_down else: self.date_machine_down = None