export declare class DateUtils { /** * Method to transform the specified `seconds` to milliseconds * @param {number} seconds The seconds to transform * @returns {number} Return the specified `seconds` transformed in milliseconds */ static secondsToMillis(seconds: number): number; /** * Method to transform the specified `minutes` to milliseconds * @param {number} minutes The minutes to transform * @returns {number} Return the specified `minutes` transformed in milliseconds */ static minutesToMillis(minutes: number): number; /** * Method to transform the specified `hours` to milliseconds * @param {number} hours The hours to transform * @returns {number} Return the specified `hours` transformed in milliseconds */ static hoursToMillis(hours: number): number; /** * Method to transform the specified days to milliseconds * @param {number} days The days to transform * @returns {number} Return the specified `dayNumber` transformed in milliseconds */ static daysToMillis(days: number): number; /** * Method to format a Date time with the specified locale information. If not locale specified, will be use `es-ES` * @param {Date} date Date to format * @param {string} [locale] Locale value to format * @returns {string} Return the `date` formaet into the specified `locale` or `es-ES` */ static formatDateTime(date: Date, locale?: string): string; /** * Method to add days to the specified date * @param date Date to add days * @param days days to add * @returns Return a new date with the specified days added */ static addDays(date: Date, days: number): Date; /** * Method to remove days to the specified date * @param date Date to remove days * @param days days to remove * @returns Return a new date with the specified days removed */ static removeDays(date: Date, days: number): Date; static intervalInMillis(oldDate: Date, newDate: Date): number; static intervalInSeconds(oldDate: Date, newDate: Date): number; static intervalInMinutes(oldDate: Date, newDate: Date): number; static intervalInHours(oldDate: Date, newDate: Date): number; static intervalInDays(oldDate: Date, newDate: Date): number; static intervalInMonths(oldDate: Date, newDate: Date): number; static intervalInYears(oldDate: Date, newDate: Date): number; static minutesToDurationString(minutes: number, skipZeroValues?: boolean, limitTo?: string): string; static durationStringToMinutes(duration: string): number; }