C# Class Usoniandream.WindowsPhone.LocationServices.Extensions.Epoch

Mostrar archivo Open project: peterdrougge/Usoniandream.WIndowsPhone.LocationServices

Public Methods

Method Description
FromUnix ( int secondsSinceepoch ) : System.DateTime
FromUnix ( int secondsSinceEpoch, int timeZoneOffsetInMinutes ) : DateTimeOffset
ToUnix ( System.DateTime dateTime ) : int

Method Details

FromUnix() public static method

public static FromUnix ( int secondsSinceepoch ) : System.DateTime
secondsSinceepoch int
return System.DateTime

FromUnix() public static method

public static FromUnix ( int secondsSinceEpoch, int timeZoneOffsetInMinutes ) : DateTimeOffset
secondsSinceEpoch int
timeZoneOffsetInMinutes int
return DateTimeOffset

ToUnix() public static method

public static ToUnix ( System.DateTime dateTime ) : int
dateTime System.DateTime
return int