CreditCardExpirationDate

  • CreditCardExpirationDate is a Parcelable object representing the expiration date returned by the Google Payment API.

  • It includes methods to retrieve the month and the four-digit year of the expiration date.

  • It inherits constants and methods from the Parcelable interface and the Object class.

public final class CreditCardExpirationDate extends Object
implements Parcelable

A Parcelable that represents the Date passed back from Google Payment API.

Inherited Constant Summary

Public Method Summary

int
getMonth()
Gets the month of the date.
int
getYear()
Gets the four-digit year of the date.

Inherited Method Summary

Public Methods

public int getMonth ()

Gets the month of the date.

Returns
  • an integer value that ranges from 1 to 12 and represents the month.

public int getYear ()

Gets the four-digit year of the date.

Returns
  • a four digit integer value that represents the year.