Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

NSLocaleDateMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 7.4 Yes No No Yes, macOS only No
Function: The default constructor.
Notes: 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:

Feedback, Comments & Corrections

NSLocaleDateMBS.Constructor(locale as NSLocaleMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 13.5 Yes No No Yes, macOS only No
Function: 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
Notes: Initializes the object for a given locale.

See also:

Feedback, Comments & Corrections

NSLocaleDateMBS.eraSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: 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)
Notes:
for example, "BCE", "CE" in the USA.
On error returns an empty array.

Feedback, Comments & Corrections

NSLocaleDateMBS.longEraSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes:
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.

Feedback, Comments & Corrections

NSLocaleDateMBS.monthSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: 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)
Notes: On error returns an empty array.

Feedback, Comments & Corrections

NSLocaleDateMBS.quarterSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.shortMonthSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: 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)
Notes: On error returns an empty array.

Feedback, Comments & Corrections

NSLocaleDateMBS.shortQuarterSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.shortStandaloneMonthSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.shortStandaloneQuarterSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.shortStandaloneWeekdaySymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.shortWeekdaySymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: 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)
Notes: On error returns an empty array.

Feedback, Comments & Corrections

NSLocaleDateMBS.standaloneMonthSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.standaloneQuarterSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.standaloneWeekdaySymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.veryShortMonthSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.veryShortStandaloneMonthSymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.veryShortStandaloneWeekdaySymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.veryShortWeekdaySymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSLocaleDateMBS.weekdaySymbols as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Currency, Date and Time Format MBS MacBase Plugin 10.0 Yes No No Yes, macOS only No
Function: 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)
Notes: Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

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




Links
MBS FileMaker tutorial videos