public void setExpiry ( Date expire ) { addField ( SubscribeOptionFields . expire , FormField . Type . text_single ) ; setAnswer ( SubscribeOptionFields . expire . getFieldName ( ) , XmppDateTime . formatXEP0082Date ( expire ) ) ; }
Sets the time at which the leased subscription will expire or has expired .