Options
All
  • Public
  • Public/Protected
  • All
Menu

Module tools/date

Index

Functions

Const dateAddDays

  • dateAddDays(date: string, days: number): string

Const dateAddMonths

  • dateAddMonths(date: string, months: number): string

Const dateValidate

  • dateValidate(str: undefined | null | string): null | "Date manquante" | "Date invalide"
  • Parameters

    • str: undefined | null | string

    Returns null | "Date manquante" | "Date invalide"

Const datesDiffInDays

  • datesDiffInDays(a: Date, b: Date): number

Const datesSubtract

  • datesSubtract(dateDebut: string, dateFin: string): number

Generated using TypeDoc