Utilities
definitely-typed › Akumina › AddIn › Utilities
Hierarchy
- Utilities
Index
Methods
- GetFriendlyUrl
- GetIcon
- IsNullOrEmpty
- ItemExpired
- TryParseInt
- addRecurringEvents
- getEditMode
- getQueryStringParameter
- isInDST
- isInMonth
- setDateValues
- substring
Methods
Static
GetFriendlyUrl
▸ GetFriendlyUrl(url
: string): string
Defined in index.d.ts:1363
Parameters:
Name | Type |
---|---|
url | string |
Returns: string
Static
GetIcon
▸ GetIcon(iconName
: string): string
Defined in index.d.ts:1368
Parameters:
Name | Type |
---|---|
iconName | string |
Returns: string
Static
IsNullOrEmpty
▸ IsNullOrEmpty(value
: string): boolean
Defined in index.d.ts:1362
Parameters:
Name | Type |
---|---|
value | string |
Returns: boolean
Static
ItemExpired
▸ ItemExpired(date
: string): boolean
Defined in index.d.ts:1366
Parameters:
Name | Type |
---|---|
date | string |
Returns: boolean
Static
TryParseInt
▸ TryParseInt(val
: any, defaultValue
: any): number | null
Defined in index.d.ts:1367
Parameters:
Name | Type |
---|---|
val | any |
defaultValue | any |
Returns: number | null
Static
addRecurringEvents
▸ addRecurringEvents(data
: any, month
: number, year
: number): any
Defined in index.d.ts:1370
Parameters:
Name | Type |
---|---|
data | any |
month | number |
year | number |
Returns: any
Static
getEditMode
▸ getEditMode(): boolean
Defined in index.d.ts:1361
Returns: boolean
Static
getQueryStringParameter
▸ getQueryStringParameter(url
: string): string
Defined in index.d.ts:1364
Parameters:
Name | Type |
---|---|
url | string |
Returns: string
Static
isInDST
▸ isInDST(date
: Date): boolean
Defined in index.d.ts:1369
Parameters:
Name | Type |
---|---|
date | Date |
Returns: boolean
Static
isInMonth
▸ isInMonth(item
: any, month
: number, year
: number): any
Defined in index.d.ts:1371
Parameters:
Name | Type |
---|---|
item | any |
month | number |
year | number |
Returns: any
Static
setDateValues
▸ setDateValues(data
: any, startDate
: Date, endDate
: Date): any
Defined in index.d.ts:1372
Parameters:
Name | Type |
---|---|
data | any |
startDate | Date |
endDate | Date |
Returns: any
Static
substring
▸ substring(str
: string, maxChar
: number): string
Defined in index.d.ts:1365
Parameters:
Name | Type |
---|---|
str | string |
maxChar | number |
Returns: string