>
<pre>protected static&nbsp;<a href="../../../../org/apache/tools/zip/ZipLong.html" title="class in org.apache.tools.zip">ZipLong</a>&nbsp;toDosTime(java.util.Date&nbsp;time)</pre>
<div class="block">Convert a Date object to a DOS date/time field.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - the <code>Date</code> to convert</dd>
<dt><span class="strong">Returns:</span></dt><dd>the date as a <code>ZipLong</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</