dxFeed .Net API  5.8.0
dxFeed .Net API library intended to provide market data access for DX clients
Public Member Functions | Private Attributes
com.dxfeed.ipf.DateFormat Class Reference

Public Member Functions

 DateFormat (string format)
 
void SetTimeZone (TimeZoneInfo timeZone)
 
string Format (DateTime dateTime)
 
DateTime Parse (string s)
 Parses text of the given string to produce a date time object. More...
 

Private Attributes

string format = string.Empty
 
TimeZoneInfo timeZone
 

Constructor & Destructor Documentation

◆ DateFormat()

com.dxfeed.ipf.DateFormat.DateFormat ( string  format)
inline

Member Function Documentation

◆ Format()

string com.dxfeed.ipf.DateFormat.Format ( DateTime  dateTime)
inline

◆ Parse()

DateTime com.dxfeed.ipf.DateFormat.Parse ( string  s)
inline

Parses text of the given string to produce a date time object.

Parameters
sString that should be parsed.
Returns
Parsed value.
Exceptions
System.ArgumentNullException
System.FormatException

◆ SetTimeZone()

void com.dxfeed.ipf.DateFormat.SetTimeZone ( TimeZoneInfo  timeZone)
inline

Field Documentation

◆ format

string com.dxfeed.ipf.DateFormat.format = string.Empty
private

◆ timeZone

TimeZoneInfo com.dxfeed.ipf.DateFormat.timeZone
private

The documentation for this class was generated from the following file: