Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • None
  • PHP

Classes

  • ArrayHash
  • ArrayList
  • Callback
  • Configurator
  • DateTime53
  • Framework
  • FreezableObject
  • Image
  • Object
  • ObjectMixin

Interfaces

  • IFreezable

Exceptions

  • ArgumentOutOfRangeException
  • DeprecatedException
  • DirectoryNotFoundException
  • FatalErrorException
  • FileNotFoundException
  • InvalidStateException
  • IOException
  • MemberAccessException
  • NotImplementedException
  • NotSupportedException
  • StaticClassException
  • Overview
  • Package
  • Class
  • Tree

Class DateTime53

DateTime with serialization and timestamp support for PHP 5.2.

DateTime
Extended by DateTime53
Package: Nette
Author: David Grudl
Located at common/DateTime.php
Methods summary
public static DateTime53
# from( string|integer|DateTime $time )

DateTime object factory.

DateTime object factory.

Parameters

$time
string|integer|DateTime

Returns

DateTime53
public static
# __set_state( $state )
public
# __sleep( )
public
# __wakeup( )
public
# getTimestamp( )
public
# setTimestamp( $timestamp )
Methods inherited from DateTime
__construct(), add(), createFromFormat(), diff(), format(), getLastErrors(), getOffset(), getTimezone(), modify(), setDate(), setISODate(), setTime(), setTimezone(), sub()
Constants summary
integer MINUTE 60
#

minute in seconds

minute in seconds

integer HOUR 3600
#

hour in seconds

hour in seconds

integer DAY 86400
#

day in seconds

day in seconds

integer WEEK 604800
#

week in seconds

week in seconds

integer MONTH 2629800
#

average month in seconds

average month in seconds

integer YEAR 31557600
#

average year in seconds

average year in seconds

Constants inherited from DateTime
ATOM, COOKIE, ISO8601, RFC1036, RFC1123, RFC2822, RFC3339, RFC822, RFC850, RSS, W3C
Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0