FLUME-92 Extractor to handle extracting of a date's components from an event field

Review Request #402 - Created July 28, 2010 and submitted

Information
Nick Verbeck
old-flume
FLUME-92
Reviewers
flume
Added support for a Date Extractor
Test Case created
Nick Verbeck
Patrick Hunt
Jonathan Hsieh
Jonathan Hsieh
Jonathan Hsieh
Nick Verbeck
Nick Verbeck
Jonathan Hsieh
Nick Verbeck
Jonathan Hsieh
Jonathan Hsieh
Bruce Mitchener
Jonathan Hsieh
intersting.  seems like test passes now.  lgtm.
Jonathan Hsieh
Hey Nick, 

I figured out why the code failed to pass test -- I commented on jira about it but this is likely a better place.  Since I marked it ship it (before I fully tested it) I'll fix it this time.  See comment for info on the code I added.

Jon.
Add these two lines to your code here, and it should be good to go.

TimeZone tz = TimeZone.getTimeZone("America/Denver");
TimeZone.setDefault(tz);
Loading...