Juan Hernandez has uploaded a new change for review. Change subject: core: Remove VdcUtils ......................................................................
core: Remove VdcUtils This class is not used at all. Change-Id: I7de5666a260ad57a30534adc1ea86a5ef5642886 Signed-off-by: Juan Hernandez <[email protected]> --- D backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/VdcUtils.java 1 file changed, 0 insertions(+), 23 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/07/13807/1 diff --git a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/VdcUtils.java b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/VdcUtils.java deleted file mode 100644 index 4a99890..0000000 --- a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/VdcUtils.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.ovirt.engine.core.utils; - -import java.text.SimpleDateFormat; -import java.util.Date; - -public class VdcUtils { - public static Date addMinutes(Date aDate, long minutes) { - long millesecondsToAdd = 60 * 1000 * minutes; - return new Date(aDate.getTime() + millesecondsToAdd); - } - - public static Date addMinutes(Date aDate, double minutes) { - long millesecondsToAdd = (long) (60 * 1000 * minutes); - return new Date(aDate.getTime() + millesecondsToAdd); - } - - public static final String DATE_FORMAT = "MM/dd/yyyy hh:mm:ss"; - - public static String formatDate(Date aDate) { - SimpleDateFormat fmt = new SimpleDateFormat(DATE_FORMAT); - return fmt.format(aDate); - } -} -- To view, visit http://gerrit.ovirt.org/13807 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7de5666a260ad57a30534adc1ea86a5ef5642886 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
