UNPKG

vcard4

Version:

An RFC 6350 compliant JavaScript library for generating and parsing version 4.0 vCards. Can also generate RFC 6351 compliant XML vCards and RFC 7095 compliant jCards. TypeScript type declarations are provided.

20 lines (17 loc) 708 B
import { BaseValue } from './BaseValue.js'; /** * Represents the "date", "time", "date-time", "date-and-or-time", "timestamp" * and "utc-offset" data types */ declare class DateTimeType extends BaseValue { reprJSON(): [string, string]; /** * @param type - Accepted values include: "date", "time", "datetime", * "dateandortime", "timestamp" or "utcoffset" * @param dateTimeValue - Format of value depends on value of `type` argument * @see for comprehensive usage explanation and examples, see documentation * {@link https://kelseykm.github.io/vcard4/documentation/values/datetimetype} */ constructor(type: string, dateTimeValue: string); } export { DateTimeType };