You are here

public function DatexObject::xsetDate in Datex 7.2

Same name and namespace in other branches
  1. 7 datex_api/datex_api_classes.inc \DatexObject::xsetDate()

Same as DateTime::setDate().

1 call to DatexObject::xsetDate()
DatexObject::setDate in datex_api/datex_api.class.inc
Same as DateTime::setDate().

File

datex_api/datex_api.class.inc, line 346
Provides an API to work with dates.

Class

DatexObject
Base class for localized DateTime.

Code

public function xsetDate($year, $month, $day) {
  return parent::setDate($year, $month, $day);
  $this
    ->reset();
  return $this;
}