Interface Assert

Index

Methods

Methods

public afterDate(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public afterTime(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public beforeDate(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public beforeTime(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public equalDate(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public equalTime(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public notAfterDate(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public notAfterTime(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public notBeforeDate(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public notBeforeTime(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public notEqualDate(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean

public notEqualTime(val: Date, exp: Date, msg?: string): boolean

Parameters

  • val: Date
  • exp: Date
  • msg?: string optional

Returns

boolean