Java Calendar Time getMaxTimeCalendar(Calendar source)

Here you can find the source of getMaxTimeCalendar(Calendar source)

Description

get Max Time Calendar

License

Open Source License

Declaration

public static Calendar getMaxTimeCalendar(Calendar source) 

Method Source Code

//package com.java2s;

import java.util.Calendar;

public class Main {

    public static Calendar getMaxTimeCalendar(Calendar source) {
        Calendar calendar = Calendar.getInstance();
        calendar.set(source.get(Calendar.YEAR), source.get(Calendar.MONTH), source.get(Calendar.DAY_OF_MONTH), 23,
                59, 59);//w ww.  ja  v a  2 s  .  c  o  m
        return calendar;
    }
}

Related

  1. getCurrentTimeLongType(Calendar cal)
  2. getCurrentTimeZoneCalendar(String timeZone)
  3. getDateTimeByDate(Date date, int calendarType, int qty)
  4. getFullTimeToString(Calendar argCal)
  5. getLocalTime(Calendar calendar)
  6. getTime(Calendar c)
  7. getTime(Calendar c)
  8. getTime(Calendar cal)
  9. getTime(Date date, int CalendarType, int interval)