CreditCardExpirationDate

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.