本帖最后由 toadstone 于 2011-04-13 16:23:13 编辑

解决方案 »

  1.   

    GregorianCalendar() 
              在具有默认语言环境的默认时区内使用当前时间构造一个默认的 GregorianCalendar。GregorianCalendar(Locale aLocale) 
              在具有给定语言环境的默认时区内构造一个基于当前时间的 GregorianCalendar。
      

  2.   

    搞明白了, 影响时区的参数是:
    private static TimeZone timeZone = TimeZone.getTimeZone("PTS");
    DateFormat df = new SimpleDateFormat(format, defaultLocale);
    df.setTimeZone(timeZone);
    return df.format(date);
    这样子就对了!