Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
FALCON-1097 UT failure for ExpressionHelperTest. Contributed by Ajay …
…Yadava.
  • Loading branch information
shaik.idris committed Apr 1, 2015
1 parent 4aa036e commit adf53c86f9f6e2af8f44d31f0ad1523c401e57ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
@@ -127,6 +127,9 @@ Trunk (Unreleased)
(Suhas vasu)

BUG FIXES
FALCON-1097 UT failure for ExpressionHelperTest
(Ajay Yadava via Shaik Idris)

FALCON-1125 Feed Lookup API doesnt work via prism
(Ajay Yadava via Suhas Vasu)

@@ -123,6 +123,7 @@ public static Properties getTimeVariables(Date date, TimeZone tz) {
private static int getDayOffset(String weekDayName) {
int day;
Calendar nominalTime = Calendar.getInstance();
nominalTime.setTimeZone(TimeZone.getTimeZone("UTC"));
nominalTime.setTime(referenceDate.get());
int currentWeekDay = nominalTime.get(Calendar.DAY_OF_WEEK);
int weekDay = DayOfWeek.valueOf(weekDayName).ordinal() + 1; //to map to Calendar.SUNDAY ...

0 comments on commit adf53c8

Please sign in to comment.