Java Year Week getTotalWeekOfYear(int year)

Here you can find the source of getTotalWeekOfYear(int year)

Description

get Total Week Of Year

License

Open Source License

Declaration

public static int getTotalWeekOfYear(int year) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Calendar;

public class Main {

    public static int getTotalWeekOfYear(int year) {
        Calendar c = Calendar.getInstance();
        return c.getActualMaximum(Calendar.WEEK_OF_YEAR);
    }//ww w .  jav  a 2s  .c  o  m
}

Related

  1. getMaxWeekNumOfYear(int year)
  2. getNextWeekMonday(int year, int weekOfYear)
  3. getNumberOfWeeksInYear(int year)
  4. getSeasonStartWeekOffset(int year)
  5. getStartDayOfWeekNo(int year, int weekNo)
  6. getYmd(int year, int week, int days)