${aoweb:getExpirationDisplay()}

Formats a card expiration date for display in "MM / YYYY" format.

When both expirationMonth and expirationYear are unknown, null is returned.

When expirationMonth is unknown, returns in "?? / YYYY" format.

When expirationYear is unknown, returns in "MM / ????" format.

Example

${aoweb:getExpirationDisplay(expirationMonth,expirationYear)}

Function Information

Function Class: com.aoindustries.web.struts.aowebtags.Functions
Function Signature: java.lang.String getExpirationDisplay(java.lang.Byte, java.lang.Short)
Display Name: None