Platforms to show: All Mac Windows Linux Cross-Platform
NSCalendarMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa | MBS MacBase Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 5 properties
- property Handle as Integer
- property firstWeekday as Integer
- property locale as NSLocaleMBS
- property minimumDaysInFirstWeek as Integer
- property timeZone as NSTimeZoneMBS
- 14 methods
- method AMSymbol as string
- method calendarIdentifier as string
- method componentsInTimeZone(timezone as NSTimeZoneMBS, date as Date) as NSDateComponentsMBS
- method componentsInTimeZone(timezone as NSTimeZoneMBS, date as DateTime) as NSDateComponentsMBS
- method Constructor
- method Constructor(identifier as string)
- method copy as NSCalendarMBS
- method dateByAddingComponents(components as NSDateComponentsMBS, toDate as Date, Options as Integer = 0) as Date
- method dateFromComponents(components as NSDateComponentsMBS) as Date
- method dateTimeByAddingComponents(components as NSDateComponentsMBS, toDate as DateTime, Options as Integer = 0) as DateTime
- method dateTimeFromComponents(components as NSDateComponentsMBS) as DateTime
- method description as string
- method PMSymbol as string
- method Print
- 19 shared methods
- shared method autoupdatingCurrentCalendar as NSCalendarMBS
- shared method calendarWithIdentifier(identifier as String) as NSCalendarMBS
- shared method currentCalendar as NSCalendarMBS
- shared method NSCalendarIdentifierBuddhist as String
- shared method NSCalendarIdentifierChinese as String
- shared method NSCalendarIdentifierCoptic as String
- shared method NSCalendarIdentifierEthiopicAmeteAlem as String
- shared method NSCalendarIdentifierEthiopicAmeteMihret as String
- shared method NSCalendarIdentifierGregorian as String
- shared method NSCalendarIdentifierHebrew as String
- shared method NSCalendarIdentifierIndian as String
- shared method NSCalendarIdentifierIslamic as String
- shared method NSCalendarIdentifierIslamicCivil as String
- shared method NSCalendarIdentifierIslamicTabular as String
- shared method NSCalendarIdentifierIslamicUmmAlQura as String
- shared method NSCalendarIdentifierISO8601 as String
- shared method NSCalendarIdentifierJapanese as String
- shared method NSCalendarIdentifierPersian as String
- shared method NSCalendarIdentifierRepublicOfChina as String
- 13 constants
Calendar Units
Constant | Value | Description |
---|---|---|
kCFCalendarUnitDay | 16 |
Specifies the day unit. |
kCFCalendarUnitEra | 2 |
Specifies the era unit. |
kCFCalendarUnitHour | 32 |
Specifies the hour unit. |
kCFCalendarUnitMinute | 64 |
Specifies the minute unit. |
kCFCalendarUnitMonth | 8 |
Specifies the month unit. |
kCFCalendarUnitQuarter | 2048 |
Specifies the quarter-year unit. |
kCFCalendarUnitSecond | 128 |
Specifies the second unit. |
kCFCalendarUnitWeekday | 256 |
Specifies the weekday unit. The weekday units are the numbers 1-N (where for the Gregorian calendar N=7 and 1 is Sunday). |
kCFCalendarUnitWeekdayOrdinal | 512 | Specifies the ordinal weekday unit. more |
kCFCalendarUnitWeekOfMonth | 4096 |
Specifies the original week of a month calendar unit. |
kCFCalendarUnitWeekOfYear | 8192 |
Specifies the original week of the year calendar unit. |
kCFCalendarUnitYear | 4) |
Specifies the year unit. |
kCFCalendarUnitYearForWeekOfYear | 16384 |
Specifies the relative year for a week within a year calendar unit. |
This class has no sub classes.
Blog Entries
- News from the MBS Xojo Plugins Version 22.5
- MonkeyBread Software Releases the MBS Xojo Plugins in version 22.5
- MBS Xojo Plugins, version 22.5pr4
- News from the MBS Xojo Plugins Version 20.1
- MBS Xojo Plugins, version 20.1pr1
- MBS Real Studio Plugins, version 12.3pr11
Release notes
- Version 22.5
- Added more methods and properties to NSCalendarMBS class.
- Version 20.1
- Added dateFromComponents, componentsInTimeZone, dateByAddingComponents to NSCalendarMBS class.
Some methods using this class:
- NSDateComponentsMBS.isValidDateInCalendar(calendar as NSCalendarMBS) as Boolean
Some properties using for this class:
- NSDateComponentsMBS.calendar as NSCalendarMBS
- NSDatePickerMBS.calendar as NSCalendarMBS
Some examples using this class:
Some related classes:
The items on this page are in the following plugins: MBS MacBase Plugin.
NSCachedURLResponseMBS - NSCellMBS
