Methods
Static Private createError
- createError(propertyKey: string | undefined, message: string | undefined, validationRules?: PropertyValidationRules, ruleKey?: undefined | string): Error
-
Parameters
-
propertyKey: string | undefined
-
message: string | undefined
-
-
Optional ruleKey: undefined | string
Static getAttributeValidationItem
Static Private getAttributesValidationRules
Static validProperty
- validProperty(attributeType: string, propertyKey: string, propertyValue: any, rules: PropertyValidationRules): void
-
Parameters
-
attributeType: string
-
propertyKey: string
-
propertyValue: any
-
Returns void
Static Private validateDateRangeOrder
- validateDateRangeOrder(fromYear?: undefined | number, fromMonth?: undefined | number, toYear?: undefined | number, toMonth?: undefined | number, status?: undefined | string): void
-
Parameters
-
Optional fromYear: undefined | number
-
Optional fromMonth: undefined | number
-
Optional toYear: undefined | number
-
Optional toMonth: undefined | number
-
Optional status: undefined | string
Returns void