Here you can find the source of getSeqWeek()
public static String getSeqWeek()
//package com.java2s; //License from project: Apache License import java.util.*; public class Main { public static String getSeqWeek() { Calendar c = Calendar.getInstance(Locale.CHINA); String week = Integer.toString(c.get(Calendar.WEEK_OF_YEAR)); if (week.length() == 1) week = "0" + week; String year = Integer.toString(c.get(Calendar.YEAR)); return year + week; }//from w w w. jav a 2s .c om }