org. helvector. weather. ForecastToTextSummary
temperature
Formats and returns a string for the temperature. Parameters
ReturnsString, eg “Temperature: Not Available” or “Temperature is 22 C” tempFeelsLike
Formats and returns a string for the feels like temperature. Parameters
ReturnsString, eg “” or “and it feels like 12 C outside.” pres
Formats and returns a string for the temperature. For info on atmospheric pressure see http://en.wikipedia.org/wiki/Barometric_pressure. Parameters
ReturnsString, eg “Pressure: Not Available” or “Pressure: 968 mb” or “Pressure: 968 mb and rising” windConditions
Formats and returns a string for the wind conditions. Wind data from feed can be N/A for not available, CLAM for Calm winds, VAR for Variable, or FROM N,S,E,W,NE...NW,NNE...NNW Parameters
ReturnsString, eg “Wind: Not Available” or “Wind: Calm” or “Wind: From north east at 12 mph” or “Wind: From north east at 12 mph with gusts up to 18 mph.” visibility
Formats and returns a string for the visibility. Parameters
ReturnsString, eg “Visibility: Unlimited” or “Visibility: Not Available” or “Visiblity: 5 Miles” dewPoint
Formats and returns a string for the dew point. For information on the dew point see http://en.wikipedia.org/wiki/Dew_point Parameters
ReturnsString, eg “Dew Point: Not Available” or “Dew Point: 43 F” moonPhase
Formats and returns a string for the moons phase. For information on the moons phase see http://en.wikipedia.org/wiki/Moon_phase Parameters
ReturnsString, eg “Moon: Not Available.” or “Moon: Waxing Gibbous.” |
private static var metricTempUnit: String
private static var imperialTempUnit: String
private static var metricDisUnit: String
private static var imperialDisUnit: String
private static var metricPresUnit: String
private static var imperialPresUnit: String
private static var metricSpeedUnit: String
private static var imperialSpeedUnit: String
private static var unknown: String
Takes the specified Forecast Object and returns a human readable weather report from the details.
public static function makeReport( f: Forecast ):String
Formats and returns a string for the current conditions.
public static function cc( o: Object ):String
Formats and returns a string for the temperature.
public static function temperature( o: Object, metric: Boolean ):String
Formats and returns a string for the feels like temperature.
public static function tempFeelsLike( o: Object, metric: Boolean ):String
Formats and returns a string for the temperature.
public static function pres( o: Object, metric: Boolean ):String
Formats and returns a string for the wind conditions.
public static function windConditions( o: Object, metric: Boolean ):String
Formats and returns a string for the humidity.
public static function humid( o: Object ):String
Formats and returns a string for the visibility.
public static function visibility( o: Object, metric: Boolean ):String
Formats and returns a string for the uvIndex.
public static function uvIndex( o: Object ):String
Formats and returns a string for the dew point.
public static function dewPoint( o: Object, metric: Boolean ):String
Formats and returns a string for the moons phase.
public static function moonPhase( o: Object ):String
Formats and returns a string for the sunrise and sunset.
public static function sunRiseSet( o: Object ):String
Formats and returns a string for the weather station the information was gathered from.
public static function weatherStation( o: Object ):String