time = parse_now("some stupid nonsense");
assertEquals(null, time);
}
public void test_parse_span() {
Span span;
span = parse_now("friday", new Options(false));
assertEquals(Time.construct(2006, 8, 18), span.getBeginCalendar());
assertEquals(Time.construct(2006, 8, 19), span.getEndCalendar());
span = parse_now("november", new Options(false));
assertEquals(Time.construct(2006, 11), span.getBeginCalendar());
assertEquals(Time.construct(2006, 12), span.getEndCalendar());
Options options = new Options(_time_2006_08_16_14_00_00, false);
span = Chronic.parse("weekend", options);
assertEquals(Time.construct(2006, 8, 19), span.getBeginCalendar());
assertEquals(Time.construct(2006, 8, 21), span.getEndCalendar());
}