Package oshi.jna.platform.mac
Enum CoreFoundation.CFDateFormatterStyle
java.lang.Object
java.lang.Enum<CoreFoundation.CFDateFormatterStyle>
oshi.jna.platform.mac.CoreFoundation.CFDateFormatterStyle
- All Implemented Interfaces:
- Serializable,- Comparable<CoreFoundation.CFDateFormatterStyle>
- Enclosing interface:
- CoreFoundation
public static enum CoreFoundation.CFDateFormatterStyle
extends Enum<CoreFoundation.CFDateFormatterStyle>
Enum of values used for 
CoreFoundation.CFDateFormatterStyle in CoreFoundation.CFDateFormatterCreate(com.sun.jna.platform.mac.CoreFoundation.CFAllocatorRef, oshi.jna.platform.mac.CoreFoundation.CFLocale, com.sun.jna.platform.mac.CoreFoundation.CFIndex, com.sun.jna.platform.mac.CoreFoundation.CFIndex). Use
 index() for the expected integer value corresponding to the C-style enum.- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptioncom.sun.jna.platform.mac.CoreFoundation.CFIndexindex()Style for the type ofCoreFoundation.CFDateFormatterStylestored.Returns the enum constant of this type with the specified name.static CoreFoundation.CFDateFormatterStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
kCFDateFormatterNoStyle
- 
kCFDateFormatterShortStyle
- 
kCFDateFormatterMediumStyle
- 
kCFDateFormatterLongStyle
- 
kCFDateFormatterFullStyle
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
indexpublic com.sun.jna.platform.mac.CoreFoundation.CFIndex index()Style for the type ofCoreFoundation.CFDateFormatterStylestored.- Returns:
- a CoreFoundation.CFIndexrepresenting the enum ordinal.
 
 
-