Documentation

Horde_Kolab_Resource_Epoch
in package

Handles Date conversion for the resource handler.

Copyright 2004-2010 Klarälvdalens Datakonsult AB

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
category

Kolab

author

Steffen Hansen steffen@klaralvdalens-datakonsult.se

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

$_date  : mixed
The date to be converted.
__construct()  : mixed
Constructor.
getEpoch()  : mixed
cleanArray()  : array<string|int, mixed>
Clear information from a date array.
convert2epoch()  : int
Convert a date to an epoch.

Properties

$_date

The date to be converted.

private mixed $_date

Methods

__construct()

Constructor.

public __construct(mixed $date) : mixed
Parameters
$date : mixed

The date to be converted.

Return values
mixed

getEpoch()

public getEpoch() : mixed
Return values
mixed

cleanArray()

Clear information from a date array.

private cleanArray(array<string|int, mixed> $ical_date) : array<string|int, mixed>
Parameters
$ical_date : array<string|int, mixed>

The array to clear.

Return values
array<string|int, mixed>

The cleaned array.

convert2epoch()

Convert a date to an epoch.

private convert2epoch(array<string|int, mixed> $values) : int
Parameters
$values : array<string|int, mixed>

The array to convert.

Return values
int

Time.

Search results