Merge MKDT_UNITTESTS
This commit is contained in:
@@ -333,9 +333,9 @@ namespace MarketData.Helper
|
||||
if(null!=httpNetResponse)httpNetResponse.Dispose();
|
||||
}
|
||||
}
|
||||
// ***************************************************************************************************************************************************************************************
|
||||
// ************************************************************************** S P L I T S F R O M E O D D A T A **********************************************************************
|
||||
// ***************************************************************************************************************************************************************************************
|
||||
// ***************************************************************************************************************************************************************************************
|
||||
// ************************************************************************** S P L I T S F R O M E O D D A T A **********************************************************************
|
||||
// ***************************************************************************************************************************************************************************************
|
||||
public static Splits GetSplits()
|
||||
{
|
||||
HttpNetResponse httpNetResponse = null;
|
||||
@@ -386,7 +386,7 @@ namespace MarketData.Helper
|
||||
if (null != httpNetResponse) httpNetResponse.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ***************************************************************************************************************************************************************************************
|
||||
// ************************************************************************** G D P P E R C A P I T A D A T A W O R L D B A N K *************************************************
|
||||
// ***************************************************************************************************************************************************************************************
|
||||
@@ -1916,7 +1916,7 @@ namespace MarketData.Helper
|
||||
WebProxy webProxy=HttpNetRequest.GetProxy("GetConsumerPriceIndices");
|
||||
strRequest=sb.ToString();
|
||||
MDTrace.WriteLine(LogLevel.DEBUG, String.Format("GetConsumerPriceIndices: {0}", strRequest));
|
||||
httpNetResponse=HttpNetRequest.GetRequestNoEncodingV5C(strRequest,"www.bls.gov",300000,webProxy);
|
||||
httpNetResponse=HttpNetRequest.GetRequestNoEncodingV5C(strRequest,"www.bls.gov", 300000,webProxy);
|
||||
if(!httpNetResponse.Success)
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,String.Format("GetConsumerPriceIndices Request:{0} failed with status {1}",httpNetResponse.Request,httpNetResponse.StatusCode));
|
||||
|
||||
@@ -141,6 +141,7 @@ namespace MarketData.Utils
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
//"Aug 23, 2013"
|
||||
public static DateTime ParseValueDateTimeMonthFormat(String strText)
|
||||
{
|
||||
@@ -158,6 +159,7 @@ namespace MarketData.Utils
|
||||
return DateTime.Parse("01-01-0001");
|
||||
}
|
||||
}
|
||||
|
||||
// "Apr. 04"
|
||||
// "1:00pm"
|
||||
public static DateTime ParseValueDateTimeMonth(String strText)
|
||||
@@ -195,7 +197,6 @@ namespace MarketData.Utils
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Sep. 25, 2022 at 4:31 p.m. ET
|
||||
public static DateTime ParseValueDateTimeMonthFormatTZ(String strText)
|
||||
{
|
||||
@@ -249,6 +250,7 @@ namespace MarketData.Utils
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static double ParseValue(String strText)
|
||||
{
|
||||
double value = double.NaN;
|
||||
|
||||
Reference in New Issue
Block a user