ofx-data-extractor
Version:
A module written in TypeScript that provides a utility to extract data from an OFX file in Node.js and Browser
15 lines (14 loc) • 531 B
TypeScript
export declare function formatDate(date: string, format: string): string;
export declare function formatDateFromUtcDate(date: Date, format: string): string;
type ParsedDateParts = {
year: number;
month: number;
day: number;
hour: number;
minutes: number;
seconds: number;
};
export declare function parseDateParts(date: string): ParsedDateParts | null;
export declare function isValidParsedDate(parts: ParsedDateParts): boolean;
export declare function parseDateToUtc(date: string): Date | null;
export {};