# NSDateComponentsFormatter class documentation

greg.casamento@gmail.com
Generated at 2025-09-10 09:16:48 +0000
2019 Free Software Foundation, Inc.
Software documentation for the NSDateComponentsFormatter class
Foundation/NSDateComponentsFormatter.h
Description forthcoming.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
localizedStringFromDateComponents:
components
unitsStyle:
unitsStyle
Description forthcoming.
allowedUnits
Description forthcoming.
allowsFractionalUnits
Description forthcoming.
calendar
Description forthcoming.
collapsesLargestUnit
Description forthcoming.
formattingContext
Description forthcoming.
getObjectValue:
obj
forString:
string
errorDescription:
error
Description forthcoming.
includesApproximationPhrase
Description forthcoming.
maximumUnitCount
Description forthcoming.
referenceDate
Description forthcoming.
setAllowedUnits:
units
Description forthcoming.
setAllowsFractionalUnits:
allowsFractionalUnits
Description forthcoming.
setCalender:
calendar
Description forthcoming.
setCollapsesLargestUnit:
collapsesLargestUnit
Description forthcoming.
setFormattingContext:
formattingContext
Description forthcoming.
setIncludesApproximationPhrase:
includesApproximationPhrase
Description forthcoming.
setMaximumUnitCount:
maximumUnitCount
Description forthcoming.
setReferenceDate:
referenceDate
Description forthcoming.
setUnitsStyle:
style
Description forthcoming.
setZeroFormattingBehavior:
behavior
Description forthcoming.
stringForObjectValue:
obj
Description forthcoming.
stringFromDate:
startDate
toDate:
endDate
Description forthcoming.
stringFromDateComponents:
components
Description forthcoming.
stringFromTimeInterval:
ti
Description forthcoming.
unitsStyle
Description forthcoming.
zeroFormattingBehavior
Description forthcoming.