Esempio n. 1
0
        private static string OutputString(string s, string url)
        {
            string result = GetServerFromUrl.Url2BattleInfo(url, false) + " ";

            string[] rs         = CheckEventType(s);
            DateTime PolandTime = StringToDateTime(rs[1]);
            DateTime end        = TimeZoneInfo.ConvertTime(PolandTime, TimeZoneInfo.FindSystemTimeZoneById(Global.PolandTimeZone), TimeZoneInfo.Local);

            result = result + DateTime2EasyTime(end) + " " + rs[0];
            return(result);
        }
Esempio n. 2
0
        private static string OutputCode(string s, string url)
        {
            if (s == "")
            {
                return("| , , , ");
            }
            string result = "";

            string[] rs         = CheckEventType(s);
            DateTime PolandTime = StringToDateTime(rs[1]);
            DateTime end        = TimeZoneInfo.ConvertTime(PolandTime, TimeZoneInfo.FindSystemTimeZoneById(Global.PolandTimeZone), TimeZoneInfo.Local);

            result = result + "|" + GetServerFromUrl.Url2BattleInfo(url, true) + "," + DateTime2NormalTime(end) + "," + rs[0] + ",[url=" + url + "]进入[/url]";
            return(result);
        }