src/Peach/DT/UnixTimeFormat.php
public function parseDatetime($format)
    {
        $time  = intval($format);
        $year  = date("Y", $time);
        $month = date("n", $time);
        $date  = date("d", $time);
        $hour  = date("H", $time);
        $min   = date("i", $time);
        return new Datetime($year, $month, $date, $hour, $min);
    }
public function parseDatetime($format)
    {
        $time  = intval($format);
        $year  = date("Y", $time);
        $month = date("n", $time);
        $date  = date("d", $time);
        $hour  = date("H", $time);
        $min   = date("i", $time);
        return new Datetime($year, $month, $date, $hour, $min);
    }
public function parseDatetime ( $ format ) { $ time = intval ( $ format ) ; $ year = date ( "Y" , $ time ) ; $ month = date ( "n" , $ time ) ; $ date = date ( "d" , $ time ) ; $ hour = date ( "H" , $ time ) ; $ min = date ( "i" , $ time ) ; return new Datetime ( $ year , $ month , $ date , $ hour , $ min ) ; }
指定されたタイムスタンプを Datetime に変換します.

@param  string $format タイムスタンプ
@return Datetime       変換結果
指定されたタイムスタンプを Datetime に変換します .