Back to project page cirrus.
The source code is released under:
Apache License
If you think the Android project 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.
package com.inktomi.cirrus.forecast; /*ww w . j a v a 2 s .c o m*/ import org.simpleframework.xml.Element; @Element public enum TimeCoordinate { UTC("UTC"), LOCAL("local"); private final String value; TimeCoordinate(String v) { value = v; } public String value() { return value; } public static TimeCoordinate fromValue(String v) { for (TimeCoordinate c: TimeCoordinate.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }