HighResDate Date class that adds micro and nanoseconds.
Extends
Extended by
Methods getMicroseconds(): undefined | number
Returns undefined | number
getNanoseconds(): undefined | number
Returns undefined | number
dateToString(): string
Returns string
timeToString(): string
Returns string
setLocalTime(resolution: number , secondsInDay: number , subSecond: number ): void
Returns void
setUtcTime(resolution: number , secondsInDay: number , subSecond: number ): void
Returns void
toString(): string
Returns a string representation of a date. The format of the string depends on the locale.
Returns string
toDateString(): string
Returns a date as a string value.
Returns string
toTimeString(): string
Returns a time as a string value.
Returns string
toLocaleString(): string
Returns a value as a string value appropriate to the host environment's current locale.
Returns string
toLocaleDateString(): string
Returns a date as a string value appropriate to the host environment's current locale.
Returns string
toLocaleTimeString(): string
Returns a time as a string value appropriate to the host environment's current locale.
Returns string
valueOf(): number
Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC.
Returns number
getTime(): number
Gets the time value in milliseconds.
Returns number
getFullYear(): number
Gets the year, using local time.
Returns number
getUTCFullYear(): number
Gets the year using Universal Coordinated Time (UTC).
Returns number
getMonth(): number
Gets the month, using local time.
Returns number
getUTCMonth(): number
Gets the month of a Date object using Universal Coordinated Time (UTC).
Returns number
getDate(): number
Gets the day-of-the-month, using local time.
Returns number
getUTCDate(): number
Gets the day-of-the-month, using Universal Coordinated Time (UTC).
Returns number
getDay(): number
Gets the day of the week, using local time.
Returns number
getUTCDay(): number
Gets the day of the week using Universal Coordinated Time (UTC).
Returns number
getHours(): number
Gets the hours in a date, using local time.
Returns number
getUTCHours(): number
Gets the hours value in a Date object using Universal Coordinated Time (UTC).
Returns number
getMinutes(): number
Gets the minutes of a Date object, using local time.
Returns number
getUTCMinutes(): number
Gets the minutes of a Date object using Universal Coordinated Time (UTC).
Returns number
getSeconds(): number
Gets the seconds of a Date object, using local time.
Returns number
getUTCSeconds(): number
Gets the seconds of a Date object using Universal Coordinated Time (UTC).
Returns number
getMilliseconds(): number
Gets the milliseconds of a Date, using local time.
Returns number
getUTCMilliseconds(): number
Gets the milliseconds of a Date object using Universal Coordinated Time (UTC).
Returns number
getTimezoneOffset(): number
Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC).
Returns number
setTime(time: number ): number
Sets the date and time value in the Date object.
Returns number
setMilliseconds(ms: number ): number
Sets the milliseconds value in the Date object using local time.
Returns number
setUTCMilliseconds(ms: number ): number
Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).
Returns number
setSeconds(sec: number , ms?: number ): number
Sets the seconds value in the Date object using local time.
Returns number
setUTCSeconds(sec: number , ms?: number ): number
Sets the seconds value in the Date object using Universal Coordinated Time (UTC).
Returns number
setMinutes(min: number , sec?: number , ms?: number ): number
Sets the minutes value in the Date object using local time.
Parameters min: number
A numeric value equal to the minutes value.
sec?: number
A numeric value equal to the seconds value.
ms?: number
A numeric value equal to the milliseconds value.
Returns number
setUTCMinutes(min: number , sec?: number , ms?: number ): number
Sets the minutes value in the Date object using Universal Coordinated Time (UTC).
Parameters min: number
A numeric value equal to the minutes value.
sec?: number
A numeric value equal to the seconds value.
ms?: number
A numeric value equal to the milliseconds value.
Returns number
setHours(hours: number , min?: number , sec?: number , ms?: number ): number
Sets the hour value in the Date object using local time.
Parameters hours: number
A numeric value equal to the hours value.
min?: number
A numeric value equal to the minutes value.
sec?: number
A numeric value equal to the seconds value.
ms?: number
A numeric value equal to the milliseconds value.
Returns number
setUTCHours(hours: number , min?: number , sec?: number , ms?: number ): number
Sets the hours value in the Date object using Universal Coordinated Time (UTC).
Parameters hours: number
A numeric value equal to the hours value.
min?: number
A numeric value equal to the minutes value.
sec?: number
A numeric value equal to the seconds value.
ms?: number
A numeric value equal to the milliseconds value.
Returns number
setDate(date: number ): number
Sets the numeric day-of-the-month value of the Date object using local time.
Returns number
setUTCDate(date: number ): number
Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).
Returns number
setMonth(month: number , date?: number ): number
Sets the month value in the Date object using local time.
Parameters month: number
A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.
date?: number
A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.
Returns number
setUTCMonth(month: number , date?: number ): number
Sets the month value in the Date object using Universal Coordinated Time (UTC).
Parameters month: number
A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.
date?: number
A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.
Returns number
setFullYear(year: number , month?: number , date?: number ): number
Sets the year of the Date object using local time.
Parameters year: number
A numeric value for the year.
month?: number
A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.
date?: number
A numeric value equal for the day of the month.
Returns number
setUTCFullYear(year: number , month?: number , date?: number ): number
Sets the year value in the Date object using Universal Coordinated Time (UTC).
Parameters year: number
A numeric value equal to the year.
month?: number
A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.
date?: number
A numeric value equal to the day of the month.
Returns number
toUTCString(): string
Returns a date converted to a string using Universal Coordinated Time (UTC).
Returns string
toISOString(): string
Returns a date as a string value in ISO format.
Returns string
[Symbol.toPrimitive](hint: stringLiteral default ): string
Converts a Date object to a string.
Returns string
[Symbol.toPrimitive](hint: stringLiteral string ): string
Converts a Date object to a string.
Returns string
[Symbol.toPrimitive](hint: stringLiteral number ): number
Converts a Date object to a number.
Returns number
[Symbol.toPrimitive](hint: string ): string | number
Converts a Date object to a string or number.
Returns string | number
A number if 'hint' was "number", a string if 'hint' was "string" or "default".
Properties
Also in this Section Functions - connect Interfaces - IApiInfo - IBaseRequestParameters - ICanonicalRequestParameters - IClient - ICommonConflationParameters - IConnectParameters - IContentGatewayInfo - IContentGatewayInfoRequestHandle - IDeletable - IDynamicConflationHandler - IDynamicConflationInfo - IEnabledConflationParameters - IExchangeInfo - IFeedConflationInfo - IField - IFieldData - IFieldSet - IGetEqualParametersBase - IGetFirstLastParametersBase - IGetMatchParametersBase - IGetNextPreviousParametersBase - IGetPatternParametersBase - IHistoryBar - IHistoryRequestParameters - IImage - IIntradayBar - IIntradayRequestParametersBase - IIntradaySpecifiedMinuteRequestParameters - IIterableRecordResponse - IIterableResponse - IMetaDataRequests - INavigationalRequestParameters - INewsRequests - IPeriodBase - IPeriodCount - IPeriodDate - IPermissionInfo - IRecord - IRelationship - IRelationshipFields - IRelationshipInfo - IRequest - IRequest - IRequestHandle - IRequestHandle - IRequestHandle - IRequestHandle - IRequestParameters - IRequestParameters - IRequestParameters - ISessionConflationParameters - IStory - IStreamingRequests - ISubscriptionInfo - ISubscriptionParameters - ISymbolDirectoryRequests - ISymbolId - ISymbolResponse - ISymbolSubscriptionCount - ITableInfo - ITick - ITickRequestParameters - ITimeSeriesRequests - IUniversalFieldHelper - IUpdate - IUpdateHandler - IUpdateHandler - IWasmApiInfo - Story Classes - Date - DateTime - HighResDate - Rational - StatusCodeError - Time - TRational Enumerations - AliasMode - ConflationType - DenominatorType - DynamicConflationTrigger - EntityType - EventType - Exchange - FieldId - FieldType - FilterType - GetMatchType - HistoryFieldFilterType - HistorySeriesType - IntradayFieldFilterType - IntradayRecordFilterType - IntradaySeriesType - MatchType - PeriodType - PermissionId - PermissionLevel - RelationshipId - StatusCode - SubscriptionType - SymbolSeparator - TableNumber - TableType - TickRecordFilterType - TickType - Trend Type aliases - ConflationTypeList - CountPeriodTypes - DatePeriodTypes - FieldIdList - IConflationParameters - IGetEqualParameters - IGetFirstLastParameters - IGetMatchParameters - IGetNextPreviousParameters - IGetPatternParameters - IIntradayRequestParameters - IPeriod - IPermissionLevels - IRelationshipInfoList - IRelationships - IRequestParameters - ITableInfoList - SearchFieldIds - SymbolIdList - SymbolList - UpdateHandlerResult