C# Class ProductsApp.TimestampID

时间戳ID
ファイルを表示 Open project: leonnnop/iGallery

Public Methods

Method Description
GetID ( ) : string

获取时间戳ID

GetInstance ( DateTime? initialDateTime = null ) : TimestampID

获取单个实例对象

GetUniqueTimeStamp ( long lastTimeStamp, long &temp ) : long

获取一个时间戳字符串

TimestampID ( ) : System

Private Methods

Method Description
Fill ( long temp ) : string
GetTimestamp ( ) : long

TimestampID ( DateTime? initialDateTime ) : System

Method Details

GetID() public method

获取时间戳ID
public GetID ( ) : string
return string

GetInstance() public static method

获取单个实例对象
public static GetInstance ( DateTime? initialDateTime = null ) : TimestampID
initialDateTime DateTime? 最初时间,与当前时间做个相差取时间戳
return TimestampID

GetUniqueTimeStamp() public method

获取一个时间戳字符串
public GetUniqueTimeStamp ( long lastTimeStamp, long &temp ) : long
lastTimeStamp long
temp long
return long

TimestampID() public method

public TimestampID ( ) : System
return System