本文链接:https://blog.csdn.net/saindy5828/article/details/47416199
package com.ss.common.util;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* 根据日期,转换成星座、生肖工具类
* @author Saindy
*
*/
public class ZodiacUtil {
public static final String[] zodiacArray = { "猴", "鸡", "狗", "猪", "鼠", "牛",
"虎", "兔", "龙", "蛇", "马", "羊" };
public static final String[] constellationArray = { "水瓶座", "双鱼座", "牡羊座",
"金牛座", "双子座", "巨蟹座", "狮子座", "处女座", "天秤座", "天蝎座", "射手座", "魔羯座" };