// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/model/theme/impl/XCalendarThemeEn.java
// public class XCalendarThemeEn extends XCalendarTheme {
// 	//
// 	private static final String[][] MONTH = { { "Jan", "Feb", "Mar", "Apr" }, 
// 			                                  { "May", "Jun", "Jul", "Aug" }, 
// 			                                  { "Sep", "Oct", "Nov", "Dec" } };
// 	
// 	private static final String[] MONTH_OF_YEAR_NAME = { "", "January", "February", "March",  
// 			                                             "April", "May", "June", "July", "August", 
// 			                                             "September", "October", "November", "December" };
// 	
// 	private static final String[] DAY_OF_WEEK_NAME = { "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" };
// 	
// 	/**
// 	 * 
// 	 */
// 	@Override public String[][] getMonthTheme(){ return MONTH; }
// 	@Override public String[] getDayOfWeekTheme() { return DAY_OF_WEEK_NAME; };
// 	@Override public String[] getMonthOfYearTheme() { return MONTH_OF_YEAR_NAME; }
// 	@Override public String header(int month, int year) { return getMonthOfYearTheme()[month] + " "+ year; }
// }
// 
// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/model/theme/impl/XCalendarThemeJp.java
// public class XCalendarThemeJp extends XCalendarTheme {
// 	//
// 	private static final String[][] MONTH = { { "1月", "2月", "3月", "4月" }, 
// 			                                  { "5月", "6月", "7月", "8月" }, 
// 			                                  { "9月", "10月", "11月", "12月" } };
// 	
// 	private static final String[] MONTH_OF_YEAR_NAME = { "", "1月", "2月", "3月", 
// 			                                             "4月", "5月", "6月", "7月", 
// 			                                             "8月", "9月", "10月", "11月", "12月" };
// 	
// 	private static final String[] DAY_OF_WEEK_NAME = { "日", "月", "火", "水", "木", "金", "土" };
// 	
// 	/**
// 	 * 
// 	 */
// 	@Override public String[][] getMonthTheme(){ return MONTH; }
// 	@Override public String[] getDayOfWeekTheme() { return DAY_OF_WEEK_NAME; };
// 	@Override public String[] getMonthOfYearTheme() { return MONTH_OF_YEAR_NAME; }
// 	@Override public String header(int month, int year) { return year + "年" + getMonthOfYearTheme()[month] + "月"; }
// }


import cn.nextop.thorin.rcp.support.swt.widget.xcalendar.model.theme.impl.XCalendarThemeEn;
import cn.nextop.thorin.rcp.support.swt.widget.xcalendar.model.theme.impl.XCalendarThemeJp;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
package cn.nextop.thorin.rcp.support.swt.widget.xcalendar.model.theme;



/**
 * 
 * @author Baoyi Chen
 */
public class XCalendarThemeFactory {
	//
	private Map<Locale, XCalendarTheme> map = new HashMap<>();
	
	/**
	 * 
	 */
	public XCalendarThemeFactory() {
		register(Locale.ENGLISH, new XCalendarThemeEn());
// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/model/theme/impl/XCalendarThemeEn.java
// public class XCalendarThemeEn extends XCalendarTheme {
// 	//
// 	private static final String[][] MONTH = { { "Jan", "Feb", "Mar", "Apr" }, 
// 			                                  { "May", "Jun", "Jul", "Aug" }, 
// 			                                  { "Sep", "Oct", "Nov", "Dec" } };
// 	
// 	private static final String[] MONTH_OF_YEAR_NAME = { "", "January", "February", "March",  
// 			                                             "April", "May", "June", "July", "August", 
// 			                                             "September", "October", "November", "December" };
// 	
// 	private static final String[] DAY_OF_WEEK_NAME = { "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" };
// 	
// 	/**
// 	 * 
// 	 */
// 	@Override public String[][] getMonthTheme(){ return MONTH; }
// 	@Override public String[] getDayOfWeekTheme() { return DAY_OF_WEEK_NAME; };
// 	@Override public String[] getMonthOfYearTheme() { return MONTH_OF_YEAR_NAME; }
// 	@Override public String header(int month, int year) { return getMonthOfYearTheme()[month] + " "+ year; }
// }
// 
// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/model/theme/impl/XCalendarThemeJp.java
// public class XCalendarThemeJp extends XCalendarTheme {
// 	//
// 	private static final String[][] MONTH = { { "1月", "2月", "3月", "4月" }, 
// 			                                  { "5月", "6月", "7月", "8月" }, 
// 			                                  { "9月", "10月", "11月", "12月" } };
// 	
// 	private static final String[] MONTH_OF_YEAR_NAME = { "", "1月", "2月", "3月", 
// 			                                             "4月", "5月", "6月", "7月", 
// 			                                             "8月", "9月", "10月", "11月", "12月" };
// 	
// 	private static final String[] DAY_OF_WEEK_NAME = { "日", "月", "火", "水", "木", "金", "土" };
// 	
// 	/**
// 	 * 
// 	 */
// 	@Override public String[][] getMonthTheme(){ return MONTH; }
// 	@Override public String[] getDayOfWeekTheme() { return DAY_OF_WEEK_NAME; };
// 	@Override public String[] getMonthOfYearTheme() { return MONTH_OF_YEAR_NAME; }
// 	@Override public String header(int month, int year) { return year + "年" + getMonthOfYearTheme()[month] + "月"; }
// }


// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/model/theme/XCalendarThemeFactory.java
import cn.nextop.thorin.rcp.support.swt.widget.xcalendar.model.theme.impl.XCalendarThemeEn;
import cn.nextop.thorin.rcp.support.swt.widget.xcalendar.model.theme.impl.XCalendarThemeJp;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;

package cn.nextop.thorin.rcp.support.swt.widget.xcalendar.model.theme;



/**
 * 
 * @author Baoyi Chen
 */
public class XCalendarThemeFactory {
	//
	private Map<Locale, XCalendarTheme> map = new HashMap<>();
	
	/**
	 * 
	 */
	public XCalendarThemeFactory() {
		register(Locale.ENGLISH, new XCalendarThemeEn());
		register(Locale.JAPANESE, new XCalendarThemeJp());