Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LicenseHelper

Index

Methods

Static getLicenseErrorMessage

  • getLicenseErrorMessage(value: License, dateTime?: number): string | undefined
  • Parameters

    • value: License
    • Default value dateTime: number = Date.now()

    Returns string | undefined

Static getLicenseValidMessage

  • getLicenseValidMessage(value: License, dateTime?: number): string | undefined
  • Parameters

    • value: License
    • Default value dateTime: number = Date.now()

    Returns string | undefined

Static isLicenseValid

  • isLicenseValid(value: License, dateTime?: number): boolean
  • Parameters

    • value: License
    • Default value dateTime: number = Date.now()

    Returns boolean

Static parse

  • parse(value: string): License | null
  • Parameters

    • value: string

    Returns License | null