concept time in category lucene

This is an excerpt from Manning's book Lucene in Action, Second Edition.
The explosion of the internet and digital repositories has brought large amounts of information within our reach. With time, the amount of data available has become so vast that we need alternate, more dynamic ways of finding information (see figure 1.1). Although we can classify data, trawling through hundreds or thousands of categories and subcategories of data is no longer an efficient method for finding information.
Now that you understand how Lucene models documents at a conceptual level, it’s time to visit the steps of the indexing process at a high level.
Email messages include sent and received dates, files have several timestamps associated with them, and HTTP responses have a LastModified header that includes the date of the requested page’s last modification. Chances are, like many other Lucene users, you’ll need to index dates and times. Such values are easily handled by first converting them to an equivalent int or long value, and then indexing that value as a number. The simplest approach is to use Date.getTime to get the equivalent value, in millisecond precision, for a Java Date object: