Class CoreFoundation.CFDateFormatter
java.lang.Object
oshi.ffm.mac.CoreFoundation.CFTypeRef
oshi.ffm.mac.CoreFoundation.CFDateFormatter
- Enclosing interface:
CoreFoundation
A reference to a CFDateFormatter object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CoreFoundation.CFAllocatorRef allocator, CoreFoundation.CFLocale locale, int dateStyle, int timeStyle) Create a new date formatterGet the format string
-
Constructor Details
-
CFDateFormatter
-
-
Method Details
-
create
public static CoreFoundation.CFDateFormatter create(CoreFoundation.CFAllocatorRef allocator, CoreFoundation.CFLocale locale, int dateStyle, int timeStyle) Create a new date formatter- Parameters:
allocator- The allocator (can be null)locale- The locale to use (can be null)dateStyle- The date styletimeStyle- The time style- Returns:
- A new date formatter
-
getFormat
-