Home Reference Source Repository
public class | source

StructuredDate

Extends:

react~React.Component → StructuredDate

dumb component for rendering the structured representation of a date

Method Summary

Public Methods
public

render(): ReactElement

render

public

setFinalValue(value: string | number, modificator: string): Object

Resolves date value against modificator statement

Public Methods

public render(): ReactElement source

render

Return:

ReactElement

markup

public setFinalValue(value: string | number, modificator: string): Object source

Resolves date value against modificator statement

Params:

NameTypeAttributeDescription
value string | number

value of the date

modificator string

modificator to be applied

Return:

Object

newVal - the modified value of the date