Helper class that provides timestamps of bars and date/time operations
Inheritance Hierarchy
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
The DateTimeEL type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Date |
Returns date parts as integer values
| |
| Item |
Returnds DateTime of bar from back bars ago
| |
| Time |
Returns time parts as integer values
|
Methods
| Name | Description | |
|---|---|---|
| AddDays |
Add specified number of minutes to the YYYMMDD date
| |
| AddMinutes |
Adds the specified number of minutes to the HHMM time.
| |
| DateTimeToString |
Converts the Windows date/time to string (short date format, long time format)
| |
| DateToJulian |
Converts YYYMMDD value to general Windows date/time
| |
| DateToString |
Converts the Windows date to string (short format)
| |
| DayFromDateTime |
Returns the day of month of Windows date/time
| |
| DayOfMonth |
Returns the DD part of YYYMMDD
| |
| DayOfWeek |
Returns the day of week (0 - for Sunday, 1 - for Monday, etc) of YYYMMDD day
| |
| DayOfWeekFromDateTime |
Returns the day of week of Windows date/time
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HoursFromDateTime |
Returns the hours from Windows date/time
| |
| JulianToDate |
Converts general Windows date/time to YYYMMDD value
| |
| MinutesFromDateTime |
Returns the minutes from Windows date/time
| |
| MinutesToTime |
Converts the number of minutes to a military time format
| |
| Month |
Returns the MM part of YYYMMDD
| |
| SecondsFromDateTime |
Returns the seconds from Windows date/time
| |
| StringToDate | ||
| StringToDateTime | ||
| StringToTime | ||
| TimeToMinutes |
Converts the military time to a number of minutes
| |
| TimeToString |
Converts the Windows date/time to string (long time format)
| |
| ToDateTime | ||
| ToHM(DateTime) |
Converts DateTime to HHMM format of time
| |
| ToHM(TimeSpan) |
Converts TimeSpan to HHMM format of time
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| ToYMD |
Converts DateTime to YYYMMDD format of date
| |
| Year |
Returns the YYY part of YYYMMDD
|
See Also