All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.DayOfWeek Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

package com.vmware.vim25;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for DayOfWeek. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="DayOfWeek">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="sunday"/>
 *     <enumeration value="monday"/>
 *     <enumeration value="tuesday"/>
 *     <enumeration value="wednesday"/>
 *     <enumeration value="thursday"/>
 *     <enumeration value="friday"/>
 *     <enumeration value="saturday"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "DayOfWeek") @XmlEnum public enum DayOfWeek { @XmlEnumValue("sunday") SUNDAY("sunday"), @XmlEnumValue("monday") MONDAY("monday"), @XmlEnumValue("tuesday") TUESDAY("tuesday"), @XmlEnumValue("wednesday") WEDNESDAY("wednesday"), @XmlEnumValue("thursday") THURSDAY("thursday"), @XmlEnumValue("friday") FRIDAY("friday"), @XmlEnumValue("saturday") SATURDAY("saturday"); private final String value; DayOfWeek(String v) { value = v; } public String value() { return value; } public static DayOfWeek fromValue(String v) { for (DayOfWeek c: DayOfWeek.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy