carbon-custom-elements
Version:
A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.
21 lines (19 loc) • 635 B
TypeScript
/**
* @license
*
* Copyright IBM Corp. 2019
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @param date A date.
* @returns Date portion of the ISO8601 string of the given date, based on the local timezone.
*/
export declare const getISODateString: (date: Date) => string;
/**
* @param s A date portion of an ISO8601 string, based on the local timezone.
* @returns The date object corresponding to the given ISO8601 string.
*/
export declare const parseISODateString: (s: string) => Date;
//# sourceMappingURL=iso-date.d.ts.map