com.amazon.InAppSDK.purchasing
Class SubscriptionPeriod

java.lang.Object
  extended by com.amazon.InAppSDK.purchasing.SubscriptionPeriod

public final class SubscriptionPeriod
extends java.lang.Object

Represents a period of time during which a subscription is valid. Note that subscription periods may not have an end, in which case the result of getEndDate() will be null.


Method Summary
 java.util.Date getEndDate()
          Returns the date the subscription ended, or null if it has no end.
 java.util.Date getStartDate()
          Returns the date the subscription began.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStartDate

public java.util.Date getStartDate()
Returns the date the subscription began.

Returns:
the date the subscription began

getEndDate

public java.util.Date getEndDate()
Returns the date the subscription ended, or null if it has no end.

Returns:
the date the subscription ended, or null if it has no end