2014-12-16 14:34:55 +00:00
|
|
|
<?php
|
2024-05-23 07:26:56 +00:00
|
|
|
|
2014-12-16 14:34:55 +00:00
|
|
|
/**
|
2024-05-23 07:26:56 +00:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2014-12-16 14:34:55 +00:00
|
|
|
*/
|
|
|
|
namespace OCP;
|
|
|
|
|
2015-04-16 15:00:08 +00:00
|
|
|
/**
|
|
|
|
* Interface IDateTimeZone
|
|
|
|
*
|
|
|
|
* @since 8.0.0
|
|
|
|
*/
|
2014-12-16 14:34:55 +00:00
|
|
|
interface IDateTimeZone {
|
|
|
|
/**
|
2015-04-07 08:13:06 +00:00
|
|
|
* @param bool|int $timestamp
|
2014-12-16 14:34:55 +00:00
|
|
|
* @return \DateTimeZone
|
2015-04-16 15:00:08 +00:00
|
|
|
* @since 8.0.0 - parameter $timestamp was added in 8.1.0
|
2014-12-16 14:34:55 +00:00
|
|
|
*/
|
2015-04-07 08:13:06 +00:00
|
|
|
public function getTimeZone($timestamp = false);
|
2014-12-16 14:34:55 +00:00
|
|
|
}
|