Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSLocaleDateMBS class.

NSLocaleDateMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The default constructor.

Creates a different object than the once you get by the NSLocaleMBS class. But this date information you get than works on Mac OS X 10.0. The NSLocaleMBS class is Mac OS X 10.4 only.

See also:

NSLocaleDateMBS.Constructor(locale as NSLocaleMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor.
Example
dim n1 as new NSLocaleDateMBS
dim n2 as new NSLocaleDateMBS(NSLocaleMBS.currentLocale)
dim n3 as new NSLocaleDateMBS(NSLocaleMBS.systemLocale)

break // see differences in debugger

Initializes the object for a given locale.

See also:

NSLocaleDateMBS.eraSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the array of era symbols.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.eraSymbols

MsgBox join(s,", ")

// shows for example "v. Chr., n. Chr." (in Germany)
// shows for example "BC, AD" (in USA)
// shows for example "av. J.-C., ap. J.-C." (in France)

for example, "BCE", "CE" in the USA.
On error returns an empty array.

NSLocaleDateMBS.longEraSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the long era symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.longEraSymbols

MsgBox join(s,", ")

// shows for example "v. Chr., n. Chr." (in Germany)
// shows for example "Before Christ, Anno Domini" (in USA)
// shows for example "avant Jésus-Christ, après Jésus-Christ" (in France)

An array containing strings representing the era symbols for the receiver (for example, {"Before Common Era", "Common Era"}).
Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.monthSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the month symbols.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.monthSymbols

MsgBox join(s,", ")

// shows for example "Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember" (in Germany)
// shows for example "January, February, March, April, May, June, July, August, September, October, November, December" (in USA)
// shows for example "janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre" (in France)

On error returns an empty array.

NSLocaleDateMBS.quarterSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the quarter symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.quarterSymbols

MsgBox join(s,", ")

// shows for example "1. Quartal, 2. Quartal, 3. Quartal, 4. Quartal" (in Germany)
// shows for example "1st quarter, 2nd quarter, 3rd quarter, 4th quarter" (in USA)
// shows for example "1er trimestre, 2e trimestre, 3e trimestre, 4e trimestre" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.shortMonthSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the array of short month.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.shortMonthSymbols

MsgBox join(s,", ")

// shows for example "Jan, Feb, Mrz, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez" (in Germany)
// shows for example "Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec" (in USA)
// shows for example "janv., févr., mars, avr., mai, juin, juil., août, sept., oct., nov., déc." (in France)

On error returns an empty array.

NSLocaleDateMBS.shortQuarterSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the short quarter symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.shortQuarterSymbols

MsgBox join(s,", ")

// shows for example "Q1, Q2, Q3, Q4" (in Germany)
// shows for example "Q1, Q2, Q3, Q4" (in USA)
// shows for example "T1, T2, T3, T4" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.shortStandaloneMonthSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the short standalone month symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.shortStandaloneMonthSymbols

MsgBox join(s,", ")

// shows for example "Jan, Feb, Mär, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez" (in Germany)
// shows for example "Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec" (in USA)
// shows for example "janv., févr., mars, avr., mai, juin, juil., août, sept., oct., nov., déc." (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.shortStandaloneQuarterSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the short standalone quarter symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.shortStandaloneQuarterSymbols

MsgBox join(s,", ")

// shows for example "Q1, Q2, Q3, Q4" (in Germany)
// shows for example "Q1, Q2, Q3, Q4" (in USA)
// shows for example "T1, T2, T3, T4" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.shortStandaloneWeekdaySymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the array of short standalone weekday symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.shortStandaloneWeekdaySymbols

MsgBox join(s,", ")

// shows for example "So., Mo., Di., Mi., Do., Fr., Sa." (in Germany)
// shows for example "Sun, Mon, Tue, Wed, Thu, Fri, Sat" (in USA)
// shows for example "dim., lun., mar., mer., jeu., ven., sam." (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.shortWeekdaySymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the short weekday symbols.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.shortWeekdaySymbols

MsgBox join(s,", ")

// shows for example "So., Mo., Di., Mi., Do., Fr., Sa." (in Germany)
// shows for example "Sun, Mon, Tue, Wed, Thu, Fri, Sat" (in USA)
// shows for example "dim., lun., mar., mer., jeu., ven., sam." (in France)

On error returns an empty array.

NSLocaleDateMBS.standaloneMonthSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the standalone month symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.standaloneMonthSymbols

MsgBox join(s,", ")

// shows for example "Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember" (in Germany)
// shows for example "January, February, March, April, May, June, July, August, September, October, November, December" (in USA)
// shows for example "janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.standaloneQuarterSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the standalone quarter symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.standaloneQuarterSymbols

MsgBox join(s,", ")

// shows for example "1. Quartal, 2. Quartal, 3. Quartal, 4. Quartal" (in Germany)
// shows for example "1st quarter, 2nd quarter, 3rd quarter, 4th quarter" (in USA)
// shows for example "1er trimestre, 2e trimestre, 3e trimestre, 4e trimestre" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.standaloneWeekdaySymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the array of standalone weekday symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.standaloneWeekdaySymbols

MsgBox join(s,", ")

// shows for example "Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag" (in Germany)
// shows for example "Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday" (in USA)
// shows for example "dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.veryShortMonthSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the very short month symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.veryShortMonthSymbols

MsgBox join(s,", ")

// shows for example "J, F, M, A, M, J, J, A, S, O, N, D" (in Germany)
// shows for example "J, F, M, A, M, J, J, A, S, O, N, D" (in USA)
// shows for example "J, F, M, A, M, J, J, A, S, O, N, D" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.veryShortStandaloneMonthSymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the very short month symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.veryShortStandaloneMonthSymbols

MsgBox join(s,", ")

// shows for example "J, F, M, A, M, J, J, A, S, O, N, D" (in Germany)
// shows for example "J, F, M, A, M, J, J, A, S, O, N, D" (in USA)
// shows for example "J, F, M, A, M, J, J, A, S, O, N, D" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.veryShortStandaloneWeekdaySymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the array of very short standalone weekday symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.veryShortStandaloneWeekdaySymbols

MsgBox join(s,", ")

// shows for example "S, M, D, M, D, F, S" (in Germany)
// shows for example "S, M, T, W, T, F, S" (in USA)
// shows for example "D, L, M, M, J, V, S" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.veryShortWeekdaySymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the array of very short weekday symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.veryShortWeekdaySymbols

MsgBox join(s,", ")

// shows for example "S, M, D, M, D, F, S" (in Germany)
// shows for example "S, M, T, W, T, F, S" (in USA)
// shows for example "D, L, M, M, J, V, S" (in France)

Available in Mac OS X v10.5 and later.

NSLocaleDateMBS.weekdaySymbols as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Currency, Date and Time Format MBS MacBase Plugin 10.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the array of weekday symbols for the receiver.
Example
dim l as new NSLocaleMBS
dim n as NSLocaleDateMBS = l.DateLong
dim s(-1) as string = n.weekdaySymbols

MsgBox join(s,", ")

// shows for example "Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag" (in Germany)
// shows for example "Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday" (in USA)
// shows for example "dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi" (in France)

Available in Mac OS X v10.4 and later.

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


The biggest plugin in space...