PHP 클래스 Horde_Kolab_Format_Date, horde

Copyright 2004-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Stuart Binge ([email protected])
저자: Thomas Jarosch ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
readDate ( string $date, string $timezone = null ) : DateTime Parse the provided string into a PHP DateTime object.
readDateOrDateTime ( string $date, string $timezone = null ) : DateTime Parse the provided string into a PHP DateTime object.
readDateTime ( string $date_time, string $timezone = null ) : DateTime Parse the provided string into a PHP DateTime object.
readUtcDateTime ( string $date_time ) : DateTime Parse the provided string into a PHP DateTime object.
writeDate ( DateTime $date ) : string Write the provided PHP DateTime object into a Kolab format date representation.
writeDateTime ( DateTime $date_time ) : string Write the provided PHP DateTime object into a Kolab format date-time representation.
writeUtcDateTime ( DateTime $date_time ) : string Write the provided PHP DateTime object into a Kolab format UTC date-time representation.

메소드 상세

readDate() 공개 정적인 메소드

Parse the provided string into a PHP DateTime object.
public static readDate ( string $date, string $timezone = null ) : DateTime
$date string The Kolab date value.
$timezone string The associated timezone. Deprecated.
리턴 DateTime The date-time value represented as PHP DateTime object.

readDateOrDateTime() 공개 정적인 메소드

Parse the provided string into a PHP DateTime object.
public static readDateOrDateTime ( string $date, string $timezone = null ) : DateTime
$date string The string representation of the date (& time).
$timezone string The associated timezone. Deprecated.
리턴 DateTime The date-time value represented as PHP DateTime object.

readDateTime() 공개 정적인 메소드

Parse the provided string into a PHP DateTime object.
public static readDateTime ( string $date_time, string $timezone = null ) : DateTime
$date_time string The Kolab date-time value.
$timezone string The associated timezone. Deprecated.
리턴 DateTime The date-time value represented as PHP DateTime object.

readUtcDateTime() 공개 정적인 메소드

Parse the provided string into a PHP DateTime object.
public static readUtcDateTime ( string $date_time ) : DateTime
$date_time string The Kolab date-time value.
리턴 DateTime The date-time value represented as PHP DateTime object.

writeDate() 공개 정적인 메소드

Write the provided PHP DateTime object into a Kolab format date representation.
public static writeDate ( DateTime $date ) : string
$date DateTime The PHP DateTime object.
리턴 string The Kolab format UTC date string.

writeDateTime() 공개 정적인 메소드

Write the provided PHP DateTime object into a Kolab format date-time representation.
public static writeDateTime ( DateTime $date_time ) : string
$date_time DateTime The PHP DateTime object.
리턴 string The Kolab format date-time string.

writeUtcDateTime() 공개 정적인 메소드

Write the provided PHP DateTime object into a Kolab format UTC date-time representation.
public static writeUtcDateTime ( DateTime $date_time ) : string
$date_time DateTime The PHP DateTime object.
리턴 string The Kolab format UTC date-time string.