C# Class H.Example.Program

Mostrar archivo Open project: zbw911/CS4Hadoop

Public Methods

Method Description
DateTimeToPhpTime ( System.DateTime datetime ) : long

DataTime转PhpTime

PhpTimeNow ( ) : long

计算Php格式的当前时间

PhpTimeToDateTime ( long time ) : System.DateTime

PhpTime转DataTime

testc ( ) : void

Private Methods

Method Description
InsertRunOn ( ) : void
Main ( string args ) : void
ShowLog ( ) : void
Useage ( ) : void
addOrder ( ) : void
addlog ( ) : void
batAddlog ( ) : void

批量插入

scanIpStat ( ) : void

Method Details

DateTimeToPhpTime() public static method

DataTime转PhpTime
public static DateTimeToPhpTime ( System.DateTime datetime ) : long
datetime System.DateTime 时间
return long

PhpTimeNow() public static method

计算Php格式的当前时间
public static PhpTimeNow ( ) : long
return long

PhpTimeToDateTime() public static method

PhpTime转DataTime
public static PhpTimeToDateTime ( long time ) : System.DateTime
time long
return System.DateTime

testc() public static method

public static testc ( ) : void
return void