Package com.skava.marketplace.util
Class AppsUtil
java.lang.Object
com.skava.marketplace.util.AppsUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocalDateTime
calculateExpiryDate
(LocalDateTime startDateTime, Long durationInMonths) static String
convertLocalDateTimeToString
(LocalDateTime date, String zoneId) static LocalDateTime
convertStringToLocalDateTime
(String time, String errorCode) static AppMaster
getAppMaster
(AppMaster appMaster) static String
Strips any potential XSS threats out of the value excluding the white listed HTMLstatic void
validateEndTime
(LocalDateTime endTime)
-
Method Details
-
convertStringToLocalDateTime
-
convertLocalDateTimeToString
-
validateEndTime
-
calculateExpiryDate
-
getAppMaster
-
stripXSS
Strips any potential XSS threats out of the value excluding the white listed HTML- Parameters:
value
- Indicates a string value for encoding.- Returns:
- Returns the the ESAPI library value to avoid encoded attacks.
-