Ignore:
Timestamp:
2013/08/02 13:22:57 (13 years ago)
Author:
Seasoft
Message:

#2322 (セッションのGC処理がエラーとなる)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/module/MDB2/Date.php

    r20119 r23022  
    4343// +----------------------------------------------------------------------+ 
    4444// 
    45 // $Id: Date.php,v 1.10 2006/03/01 12:15:32 lsmith Exp $ 
     45// $Id: Date.php 327316 2012-08-27 15:17:02Z danielc $ 
    4646// 
    4747 
     
    7171     * @access public 
    7272     */ 
    73     function mdbNow() 
     73    public static function mdbNow() 
    7474    { 
    7575        return date('Y-m-d H:i:s'); 
     
    8585     * @access public 
    8686     */ 
    87     function mdbToday() 
     87    public static function mdbToday() 
    8888    { 
    8989        return date('Y-m-d'); 
     
    9999     * @access public 
    100100     */ 
    101     function mdbTime() 
     101    public static function mdbTime() 
    102102    { 
    103103        return date('H:i:s'); 
     
    120120     * @access public 
    121121     */ 
    122     function date2Mdbstamp($hour = null, $minute = null, $second = null, 
     122    public static function date2Mdbstamp($hour = null, $minute = null, $second = null, 
    123123        $month = null, $day = null, $year = null) 
    124124    { 
     
    137137     * @access public 
    138138     */ 
    139     function unix2Mdbstamp($unix_timestamp) 
     139    public static function unix2Mdbstamp($unix_timestamp) 
    140140    { 
    141141        return date('Y-m-d H:i:s', $unix_timestamp); 
     
    153153     * @access public 
    154154     */ 
    155     function mdbstamp2Unix($mdb_timestamp) 
     155    public static function mdbstamp2Unix($mdb_timestamp) 
    156156    { 
    157157        $arr = MDB2_Date::mdbstamp2Date($mdb_timestamp); 
     
    172172     * @access public 
    173173     */ 
    174     function mdbstamp2Date($mdb_timestamp) 
     174    public static function mdbstamp2Date($mdb_timestamp) 
    175175    { 
    176176        list($arr['year'], $arr['month'], $arr['day'], $arr['hour'], $arr['minute'], $arr['second']) = 
Note: See TracChangeset for help on using the changeset viewer.