UNPKG

bc-node-sdk

Version:

BetterCommerce's NodeJS SDK encapsulates the base framework for all the Next.js applications.

15 lines (14 loc) 433 B
export default abstract class DateUtil { /** * Returns computed expiry date time value depending on {expiryInMins}. * @param expiryInMins * @returns */ static getExpiry(expiryInMins: number): Date; /** * Returns minutes in given days. * @param days The number of days. * @returns The minutes in the given days. */ static getMinutesInDays(days: number): number; }