Platforms to show: All Mac Windows Linux Cross-Platform

NSCalendarMBS.calendarIdentifier as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: Returns the identifier for the receiver.

Feedback, Comments & Corrections

NSCalendarMBS.componentsInTimeZone(timezone as NSTimeZoneMBS, date as Date) as NSDateComponentsMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 20.1 Yes No No Yes, macOS only No
Function: Returns all the date components of a date, as if in a given time zone (instead of the receiving calendar’s time zone).
Notes:
timezone: The time zone to use when returning the components. This value overrides the time zone of the receiving NSCalendar.
date: The date for which to perform the calculation.

Returns an NSDateComponents object containing all the components from the given date, calculated using the given time zone.

Feedback, Comments & Corrections

NSCalendarMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: Creates new calendar object with current calendar.

See also:

Feedback, Comments & Corrections

NSCalendarMBS.Constructor(identifier as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: Initializes a newly-allocated NSCalendar object for the calendar specified by a given identifier.

See also:

Feedback, Comments & Corrections

NSCalendarMBS.copy as NSCalendarMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: Returns a copy of the calendar object.

Feedback, Comments & Corrections

NSCalendarMBS.dateByAddingComponents(components as NSDateComponentsMBS, toDate as Date, Options as Integer = 0) as Date
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 20.1 Yes No No Yes, macOS only No
Function: Returns a date representing the absolute time calculated by adding given components to a given date.
Notes:
components: The components to add to date.
date: The date to which comps are added.
options: Options for the calculation. See NSCalendarOptions in Apple documentation for possible values.

If you specify no options, overflow in a unit carries into the higher units (as in typical addition).

Returns a new date representing the absolute time calculated by adding to date the calendrical components specified by comps using the options specified by opts. Returns nil if date falls outside the defined range of the receiver or if the computation cannot be performed.

Feedback, Comments & Corrections

NSCalendarMBS.dateFromComponents(components as NSDateComponentsMBS) as Date
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 20.1 Yes No No Yes, macOS only No
Function: Returns a date representing the absolute time calculated from given components.
Notes:
components: The components from which to calculate the returned date.

Returns a new Date object representing the absolute time calculated from comps. Returns nil if the receiver cannot convert the components given in comps into an NSDate object.

Feedback, Comments & Corrections

NSCalendarMBS.description as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: The description for this timezone.

Feedback, Comments & Corrections

NSCalendarMBS.firstWeekday as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: The index of the first weekday.
Notes: (Read and Write computed property)

Feedback, Comments & Corrections

NSCalendarMBS.locale as NSLocaleMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: The locale.
Notes: (Read and Write computed property)

Feedback, Comments & Corrections

NSCalendarMBS.minimumDaysInFirstWeek as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: The minimum number of days in the first week.
Notes: (Read and Write computed property)

Feedback, Comments & Corrections

NSCalendarMBS.Print
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: Writes the calendar to debug output.
Notes: This may help for debugging and you see output in console app.

Feedback, Comments & Corrections

NSCalendarMBS.timeZone as NSTimeZoneMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: The time zone.
Notes: (Read and Write computed property)

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Plugins