willow-utils/src/main/java/com/btr/proxy/selector/pac/PacScriptMethods.java
private Calendar getCurrentTime(boolean useGmt) {
    if (this.currentTime != null) { // Only used for unit tests
      return (Calendar) this.currentTime.clone();
    }
    return Calendar.getInstance(useGmt ? TimeZone.getTimeZone(GMT) : TimeZone
        .getDefault());
  }
private Calendar getCurrentTime(boolean useGmt) {
    if (this.currentTime != null) { // Only used for unit tests
      return (Calendar) this.currentTime.clone();
    }
    return Calendar.getInstance(useGmt ? TimeZone.getTimeZone(GMT) : TimeZone
        .getDefault());
  }
***********************************************************************
Gets a calendar set to the current time. This is used by the date and time
based methods.

@param useGmt
flag to indicate if the calendar is to be created in GMT time or
local time.
@return a Calendar set to the current time.
**********************************************************************