UNPKG

@hhgtech/hhg-components

Version:
17 lines (16 loc) 919 B
import { DueDateInfoType } from "../../../embeddedHeathToolCards/due-date/dueDate"; export declare enum DueDateCalculatorType { lastPeriod = 0, conception = 1, IVF = 2, IUI = 3, ultrasound = 4 } export declare const API_DATE_FORMAT = "yyyy-MM-dd"; export declare const getDueDateLastPeriod: (lastPeriodDate: Date, periodLength: number) => DueDateInfoType; export declare const getDueDateConception: (conceptionDate: Date) => DueDateInfoType; export declare const getDueDateIVF: (IVFDate: Date, numDayTransfer: number) => DueDateInfoType; export declare const getDueDateIUI: (dateOfIUIProcedure: Date) => DueDateInfoType; export declare const getDueDateUltrasound: (dateOfUltrasound: Date, additionalInfo: string) => DueDateInfoType; export declare const DateToInputValue: (date: Date) => string; export declare const getDaysDifference: (firstDate: Date, secondDate: Date) => number;