This will mean lots of code like
```$dateTime = (new DateTime())->setTimestamp(ITimeFactory::now()->getTimestamp()```
if a regular DateTime object is needed
Signed-off-by: Anna Larch <anna@nextcloud.com>
/**
* @return int the result of a call to time()
* @since 8.0.0
- * @deprecated 26.0.0 {@see ITimeFactory::now()}
*/
public function getTime(): int;
* @param \DateTimeZone|null $timezone
* @return \DateTime
* @since 15.0.0
- * @deprecated 26.0.0 {@see ITimeFactory::now()}
*/
public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime;