Class provides some helpers for library.
More...
|
static long | DateToUnixTime (DateTime dateTime) |
| Convert date time value to unix time (the number of milliseconds from 1.1.1970). More...
|
|
static DateTime | UnixTimeToDate (double unixTimeStamp) |
| Convert unix time to corresponding date time value. More...
|
|
static bool | IsEquals (double double1, double double2) |
| Compares two double values with some epsilon. More...
|
|
static void | AddTls11PlusSupport () |
| Adds the TLS 1.1+ support if it necessary More...
|
|
Class provides some helpers for library.
◆ AddTls11PlusSupport()
static void com.dxfeed.api.Tools.AddTls11PlusSupport |
( |
| ) |
|
|
inlinestatic |
Adds the TLS 1.1+ support if it necessary
◆ DateToUnixTime()
static long com.dxfeed.api.Tools.DateToUnixTime |
( |
DateTime |
dateTime | ) |
|
|
inlinestatic |
Convert date time value to unix time (the number of milliseconds from 1.1.1970).
- Parameters
-
dateTime | Date time value to convert. |
- Returns
- Unix time value of date time.
- Exceptions
-
◆ IsEquals()
static bool com.dxfeed.api.Tools.IsEquals |
( |
double |
double1, |
|
|
double |
double2 |
|
) |
| |
|
inlinestatic |
Compares two double values with some epsilon.
- Parameters
-
double1 | First double to compare. |
double2 | Second double to compare. |
- Returns
- True if doubles are differs not greater than some epsilon, otherwise returns false.
◆ UnixTimeToDate()
static DateTime com.dxfeed.api.Tools.UnixTimeToDate |
( |
double |
unixTimeStamp | ) |
|
|
inlinestatic |
Convert unix time to corresponding date time value.
- Parameters
-
unixTimeStamp | Unix time (the number of milliseconds from 1.1.1970). |
- Returns
- Date time value of unix time stamp.
- Exceptions
-
The documentation for this class was generated from the following file: