Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSDateComponentsMBS class.

NSDateComponentsMBS.calendar as NSCalendarMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The calendar.

(Read and Write property)

NSDateComponentsMBS.date as date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The date.

Available in Mac OS X v10.7 and later.
(Read only property)

NSDateComponentsMBS.dateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The date.

Available in Mac OS X v10.7 and later.
(Read only property)

NSDateComponentsMBS.day as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of day units.

(Read and Write property)

NSDateComponentsMBS.description as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns description of the calendar object.

(Read only property)

NSDateComponentsMBS.era as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of era units.

(Read and Write property)

NSDateComponentsMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

NSDateComponentsMBS.hour as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of hour units.

(Read and Write property)

NSDateComponentsMBS.isLeapMonth as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether it is leap month.

Available on Mac OS X 10.8.
(Read and Write property)

NSDateComponentsMBS.isValidDate as Boolean

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

If the timeZone property is set on the receiver, the time zone property value is used. If the calendar property is not set on the receiver, nil is returned.
(Read only property)

NSDateComponentsMBS.minute as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of minute units.

(Read and Write property)

NSDateComponentsMBS.month as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of month units.

(Read and Write property)

NSDateComponentsMBS.quarter as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of quarters.

(Read and Write property)

NSDateComponentsMBS.second as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of second units.

(Read and Write property)

NSDateComponentsMBS.timeZone as NSTimeZoneMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The time zone.

(Read and Write property)

NSDateComponentsMBS.week as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of week units.

(Read and Write property)

NSDateComponentsMBS.weekday as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of weekday units.

Weekday units are the numbers 1 through n, where n is the number of days in the week. For example, in the Gregorian calendar, n is 7 and Sunday is represented by 1.
(Read and Write property)

NSDateComponentsMBS.weekdayOrdinal as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The ordinal number of weekday units.

Weekday ordinal units represent the position of the weekday within the next larger calendar unit, such as the month. For example, 2 is the weekday ordinal unit for the second Friday of the month.
(Read and Write property)

NSDateComponentsMBS.weekOfMonth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The week of the month.

(Read and Write property)

NSDateComponentsMBS.weekOfYear as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The week of the year.

(Read and Write property)

NSDateComponentsMBS.year as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of year unit.

(Read and Write property)

NSDateComponentsMBS.yearForWeekOfYear as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The year for the week of the year.

(Read and Write property)

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


The biggest plugin in space...