projects/account_manager/src/main/java/io/v/android/apps/account_manager/CertificateDisplayActivity.java
/**
     * Returns expiry time that the caveat restricts the blessing usage to.
     *
     * @param caveat            the caveat to be examined.
     * @return                  expiry time
     * @throws VException       if the given caveat is not a method caveat, or if there
     *                          was a problem getting the method names
     */
Returns expiry time that the caveat restricts the blessing usage to.
@param caveat            the caveat to be examined.
@return                  expiry time
@throws VException       if the given caveat is not a method caveat, or if there
was a problem getting the method names
Returns expiry time that the caveat restricts the blessing usage to . @param caveat the caveat to be examined . @return expiry time @throws VException if the given caveat is not a method caveat or if there was a problem getting the method names
public static DateTime expiryCaveatPayload(Caveat caveat) throws VException {
        Object param = VomUtil.decode(caveat.getParamVom());
        if (param == null) {
            param = new DateTime(0);
        }
        if (!(param instanceof DateTime)) {
            throw new VException(String.format(
                    "Caveat param %s of wrong type: want %s", param, DateTime.class));
        }
        return (DateTime) param;
    }
public static DateTime expiryCaveatPayload ( Caveat caveat ) throws VException { Object param = VomUtil . decode ( caveat . getParamVom ( ) ) ; if ( param == null ) { param = new DateTime ( 0 ) ; } if ( ! ( param instanceof DateTime ) ) { throw new VException ( String . format ( "Caveat param %s of wrong type: want %s" , param , DateTime . class ) ) ; } return ( DateTime ) param ; }
Returns expiry time that the caveat restricts the blessing usage to.
Returns expiry time that the caveat restricts the blessing usage to .