An NDoc Documented Class Library

simcalendar Members

simcalendar overview

Public Instance Constructors

simcalendar Constructor Initializes a new instance of the simcalendar class.

Public Instance Fields

m_simcalProperty: m_simcal - module level variable of simacalendar structure

Public Instance Properties

caltypeProperty: caltype module level variable of calendar type Options are: Daily, Hourly, Weekly, Monthly, Quarterly, Yearly ONLY DAILY WORKS AT THIS TIME
commodityTypeProperty: m_commodityType - specifies commodity for calendar and seasons Commodity Type based on Nymex Futures Commodity Codes see href="www.nymex.com"
firstdateProperty: firstdate module level variable of start date for calendar
holidayProperty: holiday - structure holding holiday dates
lastdateProperty: lastdate module level variable of last date for calendar

Public Instance Methods

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.

Protected Instance Methods

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.

See Also

simcalendar Class | SimCalendar Namespace