Shirly Radco has uploaded a new change for review. Change subject: history: removed dateFormat routine ......................................................................
history: removed dateFormat routine Removed dateFormat routine since it is no longer in use. Change-Id: Idb33826a7e8dabce71775af2b7c50ce7e5b281ba Signed-off-by: Shirly Radco <sra...@redhat.com> --- M tos_project/code/routines/RoutineHistoryETL_3.6.item M tos_project/code/routines/RoutineHistoryETL_3.6.properties 2 files changed, 1 insertion(+), 29 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/60/41960/1 diff --git a/tos_project/code/routines/RoutineHistoryETL_3.6.item b/tos_project/code/routines/RoutineHistoryETL_3.6.item index 2d796f4..da7a4c6 100644 --- a/tos_project/code/routines/RoutineHistoryETL_3.6.item +++ b/tos_project/code/routines/RoutineHistoryETL_3.6.item @@ -1,6 +1,5 @@ package routines; -import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.text.ParseException; @@ -172,33 +171,6 @@ } - /** - * Formats Date to Date\Time String. - * - * @param date - * @param pattern (the date\time string pattern) - * @return the new date\time String. - * @throws ParseException - * - * {talendTypes} String - * - * {Category} User Defined - * - * {param} date(Date) date : the date to output. - * - * {param} String(pattern) pattern : the pattern to output. - * - * - * {example} dateFormat(01/01/2010 16:10:35, "MM-dd-yyyy") return 01-01-2010 string # - * - */ - - public static String dateFormat(Date date, String pattern) throws ParseException { - // Make a SimpleDateFormat for toString()'s output. - SimpleDateFormat format = new SimpleDateFormat(pattern); - return format.format(date); - } - /** * Returns the difference between two dates. * diff --git a/tos_project/code/routines/RoutineHistoryETL_3.6.properties b/tos_project/code/routines/RoutineHistoryETL_3.6.properties index 140e366..3e9956e 100644 --- a/tos_project/code/routines/RoutineHistoryETL_3.6.properties +++ b/tos_project/code/routines/RoutineHistoryETL_3.6.properties @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:TalendProperties="http://www.talend.org/properties"> - <TalendProperties:Property xmi:id="_V_-9YUgBEeCZFMqypDMoxQ" id="_V_-9YEgBEeCZFMqypDMoxQ" label="RoutineHistoryETL" creationDate="2011-03-06T16:52:22.966+0200" modificationDate="2015-06-01T14:34:21.425+0300" version="3.6" statusCode="DEV" item="_V_-9Y0gBEeCZFMqypDMoxQ" displayName="RoutineHistoryETL"> + <TalendProperties:Property xmi:id="_V_-9YUgBEeCZFMqypDMoxQ" id="_V_-9YEgBEeCZFMqypDMoxQ" label="RoutineHistoryETL" creationDate="2011-03-06T16:52:22.966+0200" modificationDate="2015-06-04T15:53:30.580+0300" version="3.6" statusCode="DEV" item="_V_-9Y0gBEeCZFMqypDMoxQ" displayName="RoutineHistoryETL"> <author href="../../talend.project#_SapC4EJlEeCWRqOtaF5m-w"/> </TalendProperties:Property> <TalendProperties:ItemState xmi:id="_V_-9YkgBEeCZFMqypDMoxQ" path=""/> -- To view, visit https://gerrit.ovirt.org/41960 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idb33826a7e8dabce71775af2b7c50ce7e5b281ba Gerrit-PatchSet: 1 Gerrit-Project: ovirt-dwh Gerrit-Branch: master Gerrit-Owner: Shirly Radco <sra...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches