dev-classes
Version:
<h3 align="center">SocketApi</h3>
40 lines (38 loc) • 2.37 kB
TypeScript
import { DateProcessingProps } from './DateProcessing.types';
export declare class DateProcessing {
static getActiveColorClassInDiffDate: DateProcessingProps['getActiveColorClassInDiffDate'];
static getClassByDifferenceDay: DateProcessingProps['getClassByDifferenceDay'];
static getMinMaxDate: DateProcessingProps['getMinMaxDate'];
static splitDateFromTime: DateProcessingProps['splitDateFromTime'];
static getCorrectDateAndTime: DateProcessingProps['getCorrectDateAndTime'];
static reverseDate: DateProcessingProps['reverseDate'];
static correctionDataISO8601: DateProcessingProps['correctionDataISO8601'];
static isDateDMY: DateProcessingProps['isDateDMY'];
static isDateISO8601: (date: string) => boolean;
static correctionDateAndRemoveYear: DateProcessingProps['correctionDateAndRemoveYear'];
static correctionDateWithOutCurrentYear: DateProcessingProps['correctionDateWithOutCurrentYear'];
static correctionShortYear: DateProcessingProps['correctionShortYear'];
static correctionDate: DateProcessingProps['correctionDate'];
static hasDateLessPeriod: DateProcessingProps['hasDateLessPeriod'];
static hasDateLessPeriods: DateProcessingProps['hasDateLessPeriods'];
static getDifferenceDates: DateProcessingProps['getDifferenceDates'];
static hasDateLessInNumber: DateProcessingProps['hasDateLessInNumber'];
static correctionCurrentYear: DateProcessingProps['correctionCurrentYear'];
static getChunkFromDate: DateProcessingProps['getChunkFromDate'];
static getNameMonthByNumber: DateProcessingProps['getNameMonthByNumber'];
static minMaxMountStr: DateProcessingProps['minMaxMountStr'];
static getDatesToCurrentDate: DateProcessingProps['getDatesToCurrentDate'];
static getDayOfWeek: DateProcessingProps['getDayOfWeek'];
static cropSecond: DateProcessingProps['cropSecond'];
static getRenderDate: DateProcessingProps['getRenderDate'];
static getCurrentDate: DateProcessingProps['getCurrentDate'];
static getCurrentYear: DateProcessingProps['getCurrentYear'];
static getDaysInMonth: DateProcessingProps['getDaysInMonth'];
/**
*
* @param date example: '2022-01-01'
* @param config example: {day: 1, month: 1, year: 1}
* @returns example: '2023-02-02'
*/
static getDateDeviation: DateProcessingProps['getDateDeviation'];
}