Home Reference Source Test Repository
import DTSTAMP from 'ics-js/src/properties/DTSTAMP.js'
public class | source

DTSTAMP

Extends:

Property → DTSTAMP

DTSTAMP property.

See:

Method Summary

Public Methods
public

Check if property's value is not an instance of Date.

public

Format the property's value to a string representation of a date or datetime.

Inherited Summary

From class Property
public

Determine if the property's value is transformed.

public

value: *

The property's value.

public abstract

Determine if the property's value is transformed. Returning true causes the transformer to be skipped.

public

Get a string representation of the property.

public

Get the property's properties formatted for string output.

public

Get the property's value. The value is transformed if needed.

public abstract

Function that transforms the value.

Public Methods

public shortTransformer(): boolean source

Check if property's value is not an instance of Date.

Override:

Property#shortTransformer

Return:

boolean

Whether the property's value is transformed.

public transformer(): string source

Format the property's value to a string representation of a date or datetime.

Override:

Property#transformer

Return:

string

The property's transformed value.