airwallex-android
Toggle table of contents
6.3.1
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
airwallex-android
airwallex
/
com.airwallex.android.view.util
/
ExpiryDateUtils
Expiry
Date
Utils
object
ExpiryDateUtils
Members
Properties
VALID_
INPUT_
LENGTH
Link copied to clipboard
const
val
VALID_INPUT_LENGTH
:
Int
=
5
Functions
format
Expiry
Date
Link copied to clipboard
fun
formatExpiryDate
(
rawInput
:
String
)
:
String
format
Expiry
Date
When
Deleting
Link copied to clipboard
fun
formatExpiryDateWhenDeleting
(
rawInput
:
String
)
:
String
is
Valid
Expiry
Date
Link copied to clipboard
fun
isValidExpiryDate
(
rawInput
:
String
)
:
Boolean
is
Valid
Month
Link copied to clipboard
fun
isValidMonth
(
monthString
:
String
?
)
:
Boolean
separate
Date
Input
Link copied to clipboard
fun
separateDateInput
(
@
Size
(
max
=
4
)
expiryInput
:
String
)
:
Array
<
String
>