Back to project page android-appwidget-cirrus.
The source code is released under:
MIT License
If you think the Android project android-appwidget-cirrus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* Copyright 2014 Wayne D Grant (www.waynedgrant.com) Licensed under the MIT License */ //www .j a v a 2s . com package com.waynedgrant.cirrus.presentation.formatters; import com.waynedgrant.cirrus.measures.Conditions; public class ConditionsFormatter { private Conditions conditions; public ConditionsFormatter(Conditions conditions) { this.conditions = conditions; } public String format() { String formatted = "-"; if (conditions != null) { formatted = conditions.getDescription(); } return formatted; } }