DateTimeEL Class

GF Charts Help
Helper class that provides timestamps of bars and date/time operations
Inheritance Hierarchy

SystemObject
  GF.Clients.Charts.Custom.EL.RuntimeDateTimeEL

Namespace:  GF.Clients.Charts.Custom.EL.Runtime
Assembly:  GF.Clients.Charts (in GF.Clients.Charts.dll) Version: a2f537322cdaf87d2796303449681c087e96766d
Syntax

public class DateTimeEL

The DateTimeEL type exposes the following members.

Properties

  NameDescription
Public propertyDate
Returns date parts as integer values
Public propertyItem
Returnds DateTime of bar from back bars ago
Public propertyTime
Returns time parts as integer values
Top
Methods

  NameDescription
Public methodStatic memberAddDays
Add specified number of minutes to the YYYMMDD date
Public methodStatic memberAddMinutes
Adds the specified number of minutes to the HHMM time.
Public methodStatic memberDateTimeToString
Converts the Windows date/time to string (short date format, long time format)
Public methodStatic memberDateToJulian
Converts YYYMMDD value to general Windows date/time
Public methodStatic memberDateToString
Converts the Windows date to string (short format)
Public methodStatic memberDayFromDateTime
Returns the day of month of Windows date/time
Public methodStatic memberDayOfMonth
Returns the DD part of YYYMMDD
Public methodStatic memberDayOfWeek
Returns the day of week (0 - for Sunday, 1 - for Monday, etc) of YYYMMDD day
Public methodStatic memberDayOfWeekFromDateTime
Returns the day of week of Windows date/time
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHoursFromDateTime
Returns the hours from Windows date/time
Public methodStatic memberJulianToDate
Converts general Windows date/time to YYYMMDD value
Public methodStatic memberMinutesFromDateTime
Returns the minutes from Windows date/time
Public methodStatic memberMinutesToTime
Converts the number of minutes to a military time format
Public methodStatic memberMonth
Returns the MM part of YYYMMDD
Public methodStatic memberSecondsFromDateTime
Returns the seconds from Windows date/time
Public methodStatic memberStringToDate
Public methodStatic memberStringToDateTime
Public methodStatic memberStringToTime
Public methodStatic memberTimeToMinutes
Converts the military time to a number of minutes
Public methodStatic memberTimeToString
Converts the Windows date/time to string (long time format)
Public methodStatic memberToDateTime
Public methodStatic memberToHM(DateTime)
Converts DateTime to HHMM format of time
Public methodStatic memberToHM(TimeSpan)
Converts TimeSpan to HHMM format of time
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberToYMD
Converts DateTime to YYYMMDD format of date
Public methodStatic memberYear
Returns the YYY part of YYYMMDD
Top
See Also

Reference