simcalendar Constructor
|
Initializes a new instance of the simcalendar class. |
m_simcal | Property: m_simcal - module level variable of simacalendar structure |
caltype | Property: caltype module level variable of calendar type Options are: Daily, Hourly, Weekly, Monthly, Quarterly, Yearly ONLY DAILY WORKS AT THIS TIME |
commodityType | Property: m_commodityType - specifies commodity for calendar and seasons Commodity Type based on Nymex Futures Commodity Codes see href="www.nymex.com" |
firstdate | Property: firstdate module level variable of start date for calendar |
holiday | Property: holiday - structure holding holiday dates |
lastdate | Property: lastdate module level variable of last date for calendar |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
setLastTradeDate | Method (public) setLastTradeDate determines the last trading day in a month based on Holidays and weekends from the calendar object. The last day of the month is set to lasttradedate if not called |
setSeasons | Method (public) setSeasons sets the season of the simcalendar object uses lasttradeday of a month for end of season roll. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
simcalendar Class | SimCalendar Namespace