DateTimeTypeConverter Class

Date Time Type Converter.

Extends

Implements

Methods

Name Description
getTimeFormat(): TimeFormat Protected    

Inherited methods

Name Inherited from Description
convertFromString(value: string): undefined | Date DateTimeTypeConverterBase  
convertFromStringToPropertyValue(value: string, _propertyRecord?: PropertyRecord): Promise<PropertyValue> TypeConverter Converts a string with a property record to a property value
convertPropertyToString(_propertyDescription: PropertyDescription, value?: Primitives.Value): string | Promise<string> TypeConverter Converts a value associated with a property description to a string
convertToString(value?: Primitives.ShortDate): string DateTimeTypeConverterBase  
isEqualTo(valueA: Date, valueB: Date): boolean DateTimeTypeConverterBase  
isGreaterThan(a: Date, b: Date): boolean DateTimeTypeConverterBase  
isGreaterThanOrEqualTo(a: Date, b: Date): boolean DateTimeTypeConverterBase  
isLessThan(a: Date, b: Date): boolean DateTimeTypeConverterBase  
isLessThanOrEqualTo(a: Date, b: Date): boolean DateTimeTypeConverterBase  
isNotEqualTo(valueA: Date, valueB: Date): boolean DateTimeTypeConverterBase  
isNotNull(value: Primitives.Value): boolean TypeConverter Determines if a primitive value is not null or not undefined
isNull(value: Primitives.Value): boolean TypeConverter Determines if a primitive value is null or undefined
sortCompare(valueA: Date, valueB: Date, _ignoreCase?: false | true): number DateTimeTypeConverterBase  

Inherited properties

Name Type Inherited from Description
isBooleanType Accessor ReadOnly boolean TypeConverter Determines if the converter is for a boolean type
isLessGreaterType Accessor ReadOnly boolean DateTimeTypeConverterBase  
isNullableType Accessor ReadOnly boolean TypeConverter Determines if the converter is for a nullable type
isStringType Accessor ReadOnly boolean TypeConverter Determines if the converter is for a string type

Defined in

Last Updated: 23 April, 2020