public void handleAstronomyAttributes(Attributes attributes) {
   try {
     weatherRecord.sunrise = parseTime(attributes.getValue("sunrise"));
   } catch (ParseException e) {
     e.printStackTrace();
   }
   try {
     weatherRecord.sunset = parseTime(attributes.getValue("sunset"));
   } catch (ParseException e) {
     e.printStackTrace();
   }
 }
 public void handleAtmosphereAttributes(Attributes attributes) {
   String visStr = attributes.getValue("visibility");
   int i = Integer.parseInt(visStr);
   weatherRecord.visibility = (float) i * visScaler;
 }
 public void handleConditionAttributes(Attributes attributes) {
   String codeStr = attributes.getValue("code");
   String tempStr = attributes.getValue("temp");
   weatherRecord.condition = Integer.parseInt(codeStr);
   weatherRecord.outsidetemp = Integer.parseInt(tempStr);
 }