Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.3.0)
E15995-02


oracle.webcenter.search.util
Class BasicDateUtils

java.lang.Object
  extended by oracle.webcenter.search.util.BasicDateUtils


public class BasicDateUtils
extends java.lang.Object

Constructor Summary
BasicDateUtils()
           

 

Method Summary
static java.util.Calendar getCalendar()
          Get a plain Calendar object for general use
static java.lang.String getCalendarString(java.util.Calendar cal)
          Get a human readable string of a Calendar object
static java.util.Calendar getCurrentTime(java.util.TimeZone timeZone)
          Get a Calendar object, given a time zone
static void zeroOutDay(java.util.Calendar cal)
          Zero out all fields within a day

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BasicDateUtils

public BasicDateUtils()

Method Detail

getCalendar

public static final java.util.Calendar getCalendar()
Get a plain Calendar object for general use
Returns:
Calendar

getCurrentTime

public static final java.util.Calendar getCurrentTime(java.util.TimeZone timeZone)
Get a Calendar object, given a time zone
Parameters:
timeZone -
Returns:
Calendar

zeroOutDay

public static final void zeroOutDay(java.util.Calendar cal)
Zero out all fields within a day
Parameters:
cal - Calendar object

getCalendarString

public static java.lang.String getCalendarString(java.util.Calendar cal)
Get a human readable string of a Calendar object
Parameters:
cal - Calendar object
Returns:
String representation of the Calendar object

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.3.0)
E15995-02


Copyright © 2009, 2010, Oracle. All rights reserved.