Options
All
  • Public
  • Public/Protected
  • All
Menu

Module util

Index

Functions

ConvertDateFromODataTime

  • ConvertDateFromODataTime(dateString?: string): Date
  • ConvertDateFromODataTime

    Parameters

    • dateString: string = '0'

      date string, format is /Date(1512691200000)/

    Returns Date

FormatODataDateTimedate

  • FormatODataDateTimedate(date?: Date): string
  • FormatODataDateTimedate

    format date to /Date(1512691200000)/ format

    Parameters

    • date: Date = ...

    Returns string

GetAuthorizationPair

  • GetAuthorizationPair(user: string, password: string): { Authorization: string }
  • Parameters

    • user: string
    • password: string

    Returns { Authorization: string }

    • Authorization: string

inArray

  • inArray(obj: any, arr?: any[]): boolean
  • Parameters

    • obj: any
    • arr: any[] = ...

    Returns boolean

Generated using TypeDoc