Home Reference Source
public class | source

DateFormatter

Extends:

TypedObject → DateFormatter

A wrapper around date formatting functions from various underlying libraries DateFormatter

Method Summary

Public Methods
public

format(value: *): Object

format a date

public
public

parse(value: Object): Object

Parse a date string into an object, changes - into

Inherited Summary

From class TypedObject
public

typeCache: {}

public
public

Returns a list of strings that represent the object hierarchy for this object.

public

Returns true if the class name to check is in the list of class names defined for this class.

Public Methods

public format(value: *): Object source

format a date

Params:

NameTypeAttributeDescription
value *

Return:

Object

public getClassNames(): string[] source

Returns a list of strings that represent the object hierarchy for this object.

Override:

TypedObject#getClassNames

Return:

string[]

public parse(value: Object): Object source

Parse a date string into an object, changes - into

Params:

NameTypeAttributeDescription
value Object

Return:

Object