Note that this class saves dates with millisecond granularity, /// which is bad for {@link RangeQuery} and {@link PrefixQuery}, as those /// queries are expanded to a BooleanQuery with a potentially large number /// of terms when searching. Thus you might want to use /// {@link DateTools} instead. /// ///
/// Note: dates before 1970 cannot be used, and therefore cannot be /// indexed when using this class. See {@link DateTools} for an /// alternative without such a limitation. /// ///