public static DateTime Round(DateTime,Resolution);
public static long Round(long,Resolution);
DateTools Class | Lucene.Net.Documents Namespace