Added "time" part option to datePart function.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@448 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-04-11 23:07:56 +00:00
parent ce8963d009
commit 8fb23913ce

View File

@ -56,6 +56,9 @@ public class DatePart implements Function {
return s_daysOfWeek[r];
} else if ("time".equals(part)) {
return c.getTimeInMillis();
} else {
return new EvalError("Date unit '" + part + "' not recognized.");
}