2014-12-16 09:34:55 -05:00
|
|
|
<?php
|
2024-05-23 03:26:56 -04:00
|
|
|
|
2014-12-16 09:34:55 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04: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 09:34:55 -05:00
|
|
|
*/
|
|
|
|
|
namespace OCP;
|
|
|
|
|
|
2015-04-16 11:00:08 -04:00
|
|
|
/**
|
|
|
|
|
* Interface IDateTimeZone
|
|
|
|
|
*
|
|
|
|
|
* @since 8.0.0
|
|
|
|
|
*/
|
2014-12-16 09:34:55 -05:00
|
|
|
interface IDateTimeZone {
|
|
|
|
|
/**
|
2015-04-07 04:13:06 -04:00
|
|
|
* @param bool|int $timestamp
|
2014-12-16 09:34:55 -05:00
|
|
|
* @return \DateTimeZone
|
2015-04-16 11:00:08 -04:00
|
|
|
* @since 8.0.0 - parameter $timestamp was added in 8.1.0
|
2014-12-16 09:34:55 -05:00
|
|
|
*/
|
2015-04-07 04:13:06 -04:00
|
|
|
public function getTimeZone($timestamp = false);
|
2014-12-16 09:34:55 -05:00
|
|
|
}
|