/// <summary> /// Setter for timezone /// </summary> /// <param name="value">Value to set</param> /// <returns>Returns true if timezone has been set, otherwise false</returns> public Boolean setTTTimezone(int value) { if (InputChecker.checkTimezone(value).noErrors) { this.timezone = value; return(true); } else { return(false); } }
/// <summary> /// Setter for latitude. String should be in the format: /// dd.mm.ss D (D= plus or minus sign) and 0 < input < 90 /// </summary> /// <param name="value">Text for latitude</param> /// <returns>true if latitude has been set, otherwise false.</returns> public Boolean setLLLatitude(String value) { ValidationItem vi = InputChecker.checkGeoLatitude(value); if (vi.noErrors) { this.latitude = value; return(true); } else { return(false); } }