UNPKG

image-classifier-ts

Version:

Command line tool to auto-classify images, renaming them with appropriate labels. Uses Node and Google Vision API.

24 lines (23 loc) 864 B
export declare class SimpleDate { readonly month: number; readonly day: number; readonly year: number; readonly hour: number; readonly minute: number; readonly second: number; static fromDate(date: Date): SimpleDate; static parseFromMDY(text: string): SimpleDate; static parseFromExifDate(dateValueYMD: string): SimpleDate | null; private static parsePart; constructor(month: number, day: number, year: number, hour?: number, minute?: number, second?: number); isEqualTo(other: SimpleDate): boolean; compareTo(other: SimpleDate): number; isGreaterThan(other: SimpleDate): boolean; isLessThan(other: SimpleDate): boolean; isLessThanOrEqualTo(other: SimpleDate): boolean; nextDay(): SimpleDate; private toDate; toString(): string; private asTwoDigits; toStringDateOnly(): string; }