now() public static method

public static now ( ) : DateTime
return DateTime
コード例 #1
0
 private static DateTime initBootDateTime()
 {
     try
     {
         return(DateTime.now());
     }
     catch (Exception e)
     {
         throw initFail("bootDuration", e);
     }
 }
コード例 #2
0
 public OutStream writeNext(Uri path)
 {
     return(writeNext(path, DateTime.now()));
 }
コード例 #3
0
ファイル: Date.cs プロジェクト: syatanic/fantom
        //////////////////////////////////////////////////////////////////////////
        // Construction
        //////////////////////////////////////////////////////////////////////////

        public static Date today()
        {
            return(DateTime.now().date());
        }
コード例 #4
0
ファイル: Time.cs プロジェクト: syatanic/fantom
        //////////////////////////////////////////////////////////////////////////
        // Construction
        //////////////////////////////////////////////////////////////////////////

        public static Time now()
        {
            return(DateTime.now().time());
        }
コード例 #5
0
ファイル: Log.cs プロジェクト: syatanic/fantom
 public void debug(string message, Err err)
 {
     log(LogRec.make(DateTime.now(), LogLevel.m_debug, m_name, message, err));
 }
コード例 #6
0
ファイル: Log.cs プロジェクト: syatanic/fantom
 public void info(string message, Err err)
 {
     log(LogRec.make(DateTime.now(), LogLevel.m_info, m_name, message, err));
 }