Utilities
@types/akumina-core - v5.0.0 › Globals › 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:1506
Parameters:
Name | Type |
---|---|
url | string |
Returns: string
Static
GetIcon
▸ GetIcon(iconName
: string): string
Defined in index.d.ts:1511
Parameters:
Name | Type |
---|---|
iconName | string |
Returns: string
Static
IsNullOrEmpty
▸ IsNullOrEmpty(value
: string): boolean
Defined in index.d.ts:1505
Parameters:
Name | Type |
---|---|
value | string |
Returns: boolean
Static
ItemExpired
▸ ItemExpired(date
: string): boolean
Defined in index.d.ts:1509
Parameters:
Name | Type |
---|---|
date | string |
Returns: boolean
Static
TryParseInt
▸ TryParseInt(val
: any, defaultValue
: any): number | null
Defined in index.d.ts:1510
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:1513
Parameters:
Name | Type |
---|---|
data | any |
month | number |
year | number |
Returns: any
Static
getEditMode
▸ getEditMode(): boolean
Defined in index.d.ts:1504
Returns: boolean
Static
getQueryStringParameter
▸ getQueryStringParameter(url
: string, ret?
: string | null): string
Defined in index.d.ts:1507
Parameters:
Name | Type |
---|---|
url | string |
ret? | string | null |
Returns: string
Static
isInDST
▸ isInDST(date
: Date): boolean
Defined in index.d.ts:1512
Parameters:
Name | Type |
---|---|
date | Date |
Returns: boolean
Static
isInMonth
▸ isInMonth(item
: any, month
: number, year
: number): any
Defined in index.d.ts:1514
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:1515
Parameters:
Name | Type |
---|---|
data | any |
startDate | Date |
endDate | Date |
Returns: any
Static
substring
▸ substring(str
: string, maxChar
: number): string
Defined in index.d.ts:1508
Parameters:
Name | Type |
---|---|
str | string |
maxChar | number |
Returns: string