private NameValueCollection GetArguments() { var args = new NameValueCollection(); args.Set("lang", Language); args.Set("timechanges", IncludeTimeChanges.ToNum()); args.Set("onlydst", IncludeOnlyDstCountries.ToNum()); args.Set("listplaces", IncludePlacesForEveryCountry.ToNum()); args.Set("verbosetime", Constants.DefaultVerboseTimeValue.ToString()); return(args); }
private NameValueCollection GetCommonArguments(string fromId) { var args = new NameValueCollection(); args.Set("timechanges", IncludeTimeChanges.ToNum()); args.Set("tz", IncludeTimezoneInformation.ToNum()); args.Set("fromid", fromId); args.Set("lang", Language); args.Set("radius", Radius.ToString()); args.Set("verbosetime", Constants.DefaultVerboseTimeValue.ToString()); return(args); }