Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSDateComponentsMBS class.

NSDateComponentsMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates new date components object.

NSDateComponentsMBS.copy as NSDateComponentsMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a copy of the date component object.

NSDateComponentsMBS.isValidDateInCalendar(calendar as NSCalendarMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 20.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a Boolean value that indicates whether the current combination of properties represents a date which exists in the specified calendar.

calendar: The calendar for which to use in the calculation.

Returns yes if the date corresponding to the receiver's values is valid and exists in the given calendar, otherwise no.

If the timeZone property is set on the receiver, the time zone property value is used.
This property should not be used for NSDateComponents objects that represent relative quantities of calendar components.

NSDateComponentsMBS.Print

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Writes the date components to debug output.

This may help for debugging and you see output in console app.

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...