com.trolltech.qt.core
Class QDate.MonthNameType

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.QDate.MonthNameType
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QDate

public static final class QDate.MonthNameType
extends java.lang.Enum
implements QtEnumerator

This enum describes the types of the string representation used for the month name.

See Also:
Serialized Form

Field Summary
static QDate.MonthNameType DateFormat
          This type of name can be used for date-to-string formatting.
static QDate.MonthNameType StandaloneFormat
          This type is used when you need to enumerate months or weekdays.
 
Method Summary
static QDate.MonthNameType resolve(int value)
          Returns the QDate$MonthNameType constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QDate.MonthNameType valueOf(java.lang.String name)
           
static QDate.MonthNameType[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DateFormat

public static final QDate.MonthNameType DateFormat
This type of name can be used for date-to-string formatting.


StandaloneFormat

public static final QDate.MonthNameType StandaloneFormat
This type is used when you need to enumerate months or weekdays. Usually standalone names are represented in singular forms with capitalized first letter.

Method Detail

values

public static QDate.MonthNameType[] values()

valueOf

public static QDate.MonthNameType valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QDate.MonthNameType resolve(int value)
Returns the QDate$MonthNameType constant with the specified int.