Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.util
Class CalendarHelper

java.lang.Object
  extended by oracle.adfnmc.java.util.CalendarHelper

public class CalendarHelper
extends java.lang.Object


Constructor Summary
CalendarHelper()
           
 
Method Summary
static void clear(java.util.Calendar cal)
           
static void clear(java.util.Calendar cal, int field)
           
static long getTimeInMillis(java.util.Calendar cal)
           
static void set(java.util.Calendar cal, int year, int month, int day)
          Sets the year, month and day of the month fields.
static void set(java.util.Calendar cal, int year, int month, int day, int hourOfDay, int minute)
          Sets the year, month, day of the month, hour of day and minute fields.
static void set(java.util.Calendar cal, int year, int month, int day, int hourOfDay, int minute, int second)
          Sets the year, month, day of the month, hour of day, minute and second fields.
static void setTimeInMillis(java.util.Calendar cal, long milliseconds)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarHelper

public CalendarHelper()
Method Detail

clear

public static void clear(java.util.Calendar cal)

getTimeInMillis

public static long getTimeInMillis(java.util.Calendar cal)

clear

public static void clear(java.util.Calendar cal,
                         int field)

set

public static final void set(java.util.Calendar cal,
                             int year,
                             int month,
                             int day,
                             int hourOfDay,
                             int minute,
                             int second)
Sets the year, month, day of the month, hour of day, minute and second fields.

Parameters:
year - the year
month - the month
day - the day of the month
hourOfDay - the hour of day
minute - the minute
second - the second

set

public static final void set(java.util.Calendar cal,
                             int year,
                             int month,
                             int day,
                             int hourOfDay,
                             int minute)
Sets the year, month, day of the month, hour of day and minute fields.

Parameters:
year - the year
month - the month
day - the day of the month
hourOfDay - the hour of day
minute - the minute

set

public static final void set(java.util.Calendar cal,
                             int year,
                             int month,
                             int day)
Sets the year, month and day of the month fields.

Parameters:
year - the year
month - the month
day - the day of the month

setTimeInMillis

public static final void setTimeInMillis(java.util.Calendar cal,
                                         long milliseconds)

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.