sp;getDatetime()</pre>
<div class="block">Get the date & time in String format.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a String representing a date & time.</dd></dl>
</li>
</ul>
<a name="setGranularity(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGranularity</h4>
<pre>public&nbsp;void&nbsp;setGranularity(long&nbsp;g)</pre>
<div class="block">Set the granularity to use for this ResourceSelector.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd>