lib/ezlocale/classes/eztime.php

Show: inherited
Table of Contents

File containing the eZTime class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
lib  
Version
4.6.0  

\eZTime

Package: lib

File containing the eZTime class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Constants

Constant  SECONDS_A_MINUTE = 60
Constant  SECONDS_AN_HOUR = 3600
Constant  SECONDS_A_DAY = 86400

Properties

Propertypublic  $Locale= ''
Details
Type
n/a
Propertypublic  $Time= ''
Details
Type
n/a

Methods

methodpublicadjustTime(  $hour,  $minute = 0,  $second = 0 ) : void

Parameters
Name Type Description
$hour
$minute
$second
methodpublicattribute(  $name ) : void

Parameters
Name Type Description
$name
methodpublicattributes( ) : void

methodpubliccreate(  $hour = -1,  $minute = -1,  $second = -1 ) : void
static

Parameters
Name Type Description
$hour
$minute
$second
methodpublicduplicate( ) : void

methodpubliceZTime(  $timestamp = false ) : void

Parameters
Name Type Description
$timestamp
methodpublichasAttribute(  $name ) : void

Parameters
Name Type Description
$name
methodpublichour( ) : void

methodpublicisEqualTo(  $time ) : void

Parameters
Name Type Description
$time
methodpublicisGreaterThan(  $time,  $equal = false ) : void

Parameters
Name Type Description
$time
$equal
methodpublicisValid( ) : void

methodpubliclocale( ) : void

methodpublicminute( ) : void

methodpublicsecond( ) : void

methodpublicsecondsPerDay( ) : void
static

methodpublicsetHMS(  $hour,  $min = 0,  $sec = 0 ) : void

Parameters
Name Type Description
$hour
$min
$sec
methodpublicsetHour(  $hour ) : void

Parameters
Name Type Description
$hour
methodpublicsetLocale(  $locale ) : void

Parameters
Name Type Description
$locale
methodpublicsetMinute(  $min ) : void

Parameters
Name Type Description
$min
methodpublicsetSecond(  $sec ) : void

Parameters
Name Type Description
$sec
methodpublicsetTimeOfDay(  $timestamp ) : void

Parameters
Name Type Description
$timestamp
methodpublicsetTimeStamp(  $timestamp ) : void

Parameters
Name Type Description
$timestamp
methodpublictimeOfDay( ) : void

methodpublictimeStamp( ) : void

methodpublictoString(  $short = false ) : void

Parameters
Name Type Description
$short
Documentation was generated by DocBlox 0.18.1.