Java tutorial
//package com.java2s; //License from project: Apache License import java.util.Calendar; public class Main { public static int getDateOfYear(Calendar paramCalendar) { return paramCalendar.get(6); } }