嶄忽滴煽麻隈java糞? - 園殻秘壇利
作者 佚名技术
来源 NET编程
浏览
发布时间 2012-06-22
++) { line += " " + '' ''; } int days = daysInGregorianMonth(gregorianYear,gregorianMonth); for (int i=gregorianDate; i<=days; i++) { line += getDateString() + '' ''; rollUpOneDay(); if (dayOfWeek==1) { table[wk] = line; line = ""; wk++; } } for (int i=dayOfWeek; i<=7; i++) { line += " " + '' ''; } table[wk] = line; for (int i=wk+1; i<table.length; i++) { table[i] = blank; } for (int i=0; i<table.length; i++) { table[i] = table[i].substring(0,table[i].length()-1); } return table; } private static String[] chineseMonthNames = {"屎","屈","眉","膨","励","鎗","鈍","伊","湘","噴","喬","整"}; private static String[] principleTermNames = {"嚏邦","敢蛍","紅嚏","歪諾","歪崛","寄菩","侃菩","拍蛍","蜂週", "弌僣","喬崛","寄混"}; private static String[] sectionalTermNames = {"羨敢","妾斈","賠苧","羨歪","但嶽","弌菩","羨拍","易其","混其", "羨喬","寄僣","弌混"}; public String getDateString() { String str = "* / "; String gm = String.valueOf(gregorianMonth); if (gm.length()==1) gm = '' '' + gm; String cm = String.valueOf(Math.abs(chineseMonth)); if (cm.length()==1) cm = '' '' + cm; String gd = String.valueOf(gregorianDate); if (gd.length()==1) gd = '' '' + gd; String cd = String.valueOf(chineseDate); if (cd.length()==1) cd = '' '' + cd; if (gregorianDate==sectionalTerm) { str = " "+sectionalTermNames[gregorianMonth-1]; } else if (gregorianDate==principleTerm) { str = " "+principleTermNames[gregorianMonth-1]; } else if (chineseDate==1 && chineseMonth>0) { str = " "+chineseMonthNames[chineseMonth-1]+"埖"; } else if (chineseDate==1 && chineseMonth<0) { str = "*"+chineseMonthNames[-chineseMonth-1]+"埖"; |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于嶄忽滴煽麻隈java糞? - 園殻秘壇利的所有评论