if ( (!"".equals( _contentPushExpireDate.trim() ) && !"".equals( _contentPushExpireTime.trim() )) ) {
Date expireDate = dateFormat.parse( _contentPushExpireDate + "-" + _contentPushExpireTime );
bundle.setExpireDate(expireDate);
APILocator.getBundleAPI().updateBundle(bundle);
publisherAPI.unpublishBundleAssets(bundle.getId(), expireDate);
}
} else if(_iWantTo.equals( RemotePublishAjaxAction.DIALOG_ACTION_PUBLISH_AND_EXPIRE ) ) {
if ( (!"".equals( _contentPushExpireDate.trim() ) && !"".equals( _contentPushExpireTime.trim() )) ) {
Date expireDate = dateFormat.parse( _contentPushExpireDate + "-" + _contentPushExpireTime );