Java Calendar Create getCalendarForSchedule(Calendar cal)

Here you can find the source of getCalendarForSchedule(Calendar cal)

Description

get Calendar For Schedule

License

Open Source License

Declaration

public static Calendar getCalendarForSchedule(Calendar cal) 

Method Source Code

//package com.java2s;
/*//  w  w  w. jav a 2 s  . c om
 * @ (#) CalendarUtils.java
 * 
 * Copyright (c) 2010 ClickDiagnostics Inc. All Rights Reserved. This software is the
 * confidential and proprietary information of ClickDiagnostics ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with ClickDiagnostics.
 */

import java.util.Calendar;

public class Main {
    public static Calendar getCalendarForSchedule(Calendar cal) {
        // set the hour min sec
        // cal.set ( Calendar.HOUR_OF_DAY,
        // SchedulingConstants.DEFAULT_VISIT_HOUR );
        // cal.set ( Calendar.MINUTE, SchedulingConstants.DEFAULT_VISIT_MIN );
        // cal.set ( Calendar.SECOND, SchedulingConstants.DEFAULT_VISIT_SECOND
        // );

        // return cal
        return cal;
    }
}

Related

  1. getCalendarField(char c)
  2. getCalendarField(Date date, int calFieldId)
  3. getCalendarFieldName(int field)
  4. getCalendarFormYear(int year)
  5. getCalendarForNextRun( GregorianCalendar startTime, int targetDay, int targetHour)
  6. getCalendarForTime(final long timeInMilliseconds)
  7. getCalendarFromDates(Date date, Date hourMinuteMillisseconds)
  8. getCalendarFromSystemTimeInMillis(long date)
  9. getCalendarGMT()