C# Class MvvmCross.Platform.Droid.Platform.MvxDateTimeExtensionMethods

Mostrar archivo Open project: MvvmCross/MvvmCross

Public Methods

Method Description
FromLocalToUnixTime ( this dateTimeLocal ) : long
FromMillisecondsUnixTimeToUtc ( this milliseconds ) : System.DateTime
FromUnixTimeToLocal ( this seconds ) : System.DateTime
FromUnixTimeToUtc ( this seconds ) : System.DateTime
FromUtcToUnixTime ( this dateTimeUtc ) : long

Method Details

FromLocalToUnixTime() public static method

public static FromLocalToUnixTime ( this dateTimeLocal ) : long
dateTimeLocal this
return long

FromMillisecondsUnixTimeToUtc() public static method

public static FromMillisecondsUnixTimeToUtc ( this milliseconds ) : System.DateTime
milliseconds this
return System.DateTime

FromUnixTimeToLocal() public static method

public static FromUnixTimeToLocal ( this seconds ) : System.DateTime
seconds this
return System.DateTime

FromUnixTimeToUtc() public static method

public static FromUnixTimeToUtc ( this seconds ) : System.DateTime
seconds this
return System.DateTime

FromUtcToUnixTime() public static method

public static FromUtcToUnixTime ( this dateTimeUtc ) : long
dateTimeUtc this
return long