Overview

Namespaces

  • Peach
    • DF
    • DT
    • Http
      • Body
      • Header
    • Markup
    • Util

Classes

  • AbstractTime
  • Clock
  • Date
  • Datetime
  • DefaultClock
  • FixedClock
  • FormatWrapper
  • HttpDateFormat
  • OffsetClock
  • ShiftFormat
  • SimpleFormat
  • TimeEquator
  • Timestamp
  • TimeWrapper
  • UnixTimeFormat
  • Util
  • W3cDatetimeFormat

Interfaces

  • Format
  • Time
  • Overview
  • Namespace
  • Class

Class FixedClock

特定の日時を現在時刻とする Clock の実装です.

Peach\DT\Clock
Extended by Peach\DT\FixedClock
Namespace: Peach\DT
Located at Peach/DT/FixedClock.php
Methods summary
public
# __construct( integer $time )

指定された unix time を現在時刻とする FixedClock インスタンスを生成します.

指定された unix time を現在時刻とする FixedClock インスタンスを生成します.

Parameters

$time
任意の unix time
protected integer
# getUnixTime( )

コンストラクタの引数に指定された unix time を返します.

コンストラクタの引数に指定された unix time を返します.

Returns

integer
Methods inherited from Peach\DT\Clock
getTimestamp()
PEACH2 API documentation generated by ApiGen