C# Class mqlsharp.Util.DateUtil

ファイルを表示 Open project: jseparovic/MQL4CSharp

Public Methods

Method Description
FromUnixTime ( long unixTime ) : System.DateTime
ToMT4TimeString ( System.DateTime dateTime ) : string
ToUnixTime ( System.DateTime date ) : long
addDateAndTime ( LocalDate date, LocalTime time ) : System.DateTime
getDateFromCurrentAnd24HRTime ( System.DateTime current, LocalTime hr24Time ) : System.DateTime
getDateFromCurrentAnd24HRTime ( System.DateTime current, String hr24Time ) : System.DateTime

Method Details

FromUnixTime() public static method

public static FromUnixTime ( long unixTime ) : System.DateTime
unixTime long
return System.DateTime

ToMT4TimeString() public static method

public static ToMT4TimeString ( System.DateTime dateTime ) : string
dateTime System.DateTime
return string

ToUnixTime() public static method

public static ToUnixTime ( System.DateTime date ) : long
date System.DateTime
return long

addDateAndTime() public static method

public static addDateAndTime ( LocalDate date, LocalTime time ) : System.DateTime
date LocalDate
time LocalTime
return System.DateTime

getDateFromCurrentAnd24HRTime() public static method

public static getDateFromCurrentAnd24HRTime ( System.DateTime current, LocalTime hr24Time ) : System.DateTime
current System.DateTime
hr24Time LocalTime
return System.DateTime

getDateFromCurrentAnd24HRTime() public static method

public static getDateFromCurrentAnd24HRTime ( System.DateTime current, String hr24Time ) : System.DateTime
current System.DateTime
hr24Time String
return System.DateTime