Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Ada Programming/Libraries/Ada.Locales

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Ada.Locales __TOC__ Ada Locales is a unit of the Predefined Language Environment since Ada 2012. Specification Standard Ada library specification Copyright (c) 2004-2016 AXE Consultants Copyright (c) 2004, 2005, 2006 Ada-Europe Copyright (c) 2000 The MITRE Corporation, Inc. Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual ------------------------------------------------------------------------- package Ada Locales is pragma Preelaborate(Locales); pragma Remote_Types(Locales); type Language_Code is new String (1 double_dot .. 3) with Dynamic_Predicate arrow => (for all E of Language_Code arrow => E in 'a' double_dot .. 'z'); type Country_Code is new String (1 double_dot .. 2) with Dynamic_Predicate arrow => (for all E of Country_Code arrow => E in 'A' double_dot .. 'Z'); Language_Unknown : constant Language_Code := "und"; Country_Unknown : constant Country_Code := "ZZ"; function Language return Language_Code; function Country return Country_Code; end Adadot .Locales; See also Wikibook Ada Programming/Libraries/Ada Ada Reference Manual Ada 2012 A 19 The Package Locales Open-Source Implementations a-locale.ads a-locale.adb environment/a-locale.ads environment/a-locale.adb