C# Class ModernApp4Me.Core.Util.M4MDateUtil

A class which offers static methods in order to manipulate date.
ファイルを表示 Open project: smartnsoft/ModernApp4Me

Public Methods

Method Description
JavaTimestampToDateTime ( double javaTimeStamp ) : System.DateTime

Converts a java timestamp to a datetime.

UnixTimestampToDateTime ( double unixTimeStamp ) : System.DateTime

Converts an unix timestamp to a datetime.

Method Details

JavaTimestampToDateTime() public static method

Converts a java timestamp to a datetime.
public static JavaTimestampToDateTime ( double javaTimeStamp ) : System.DateTime
javaTimeStamp double the timestamp to convert in
return System.DateTime

UnixTimestampToDateTime() public static method

Converts an unix timestamp to a datetime.
public static UnixTimestampToDateTime ( double unixTimeStamp ) : System.DateTime
unixTimeStamp double the timestamp to convert in
return System.DateTime