Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  locales.rs

  Sprache: Rust
 

#[cfg(feature = "unstable-locales")]
mod localized {
    use pure_rust_locales::{Locale, locale_match};

    pub(crateconst fn default_locale() -> Locale {
        Locale::POSIX
    }

    pub(crateconst fn short_months(locale: Locale) -> &'static [&'an>static str] {
        locale_match!(locale => LC_TIME::ABMON)
    }

    pub(crateconst fn long_months(locale: Locale) -> &'static [&'n>static str] {
        locale_match!(locale => LC_TIME::MON)
    }

    pub(crateconst fn short_weekdays(locale: Locale) -> &'static [&'span>static str] {
        locale_match!(locale => LC_TIME::ABDAY)
    }

    pub(crateconst fn long_weekdays(locale: Locale) -> &'static [&'pan>static str] {
        locale_match!(locale => LC_TIME::DAY)
    }

    pub(crateconst fn am_pm(locale: Locale) -> &'static [&'static str] {
        locale_match!(locale => LC_TIME::AM_PM)
    }

    pub(crateconst fn decimal_point(locale: Locale) -> &'static str {
        locale_match!(locale => LC_NUMERIC::DECIMAL_POINT)
    }

    pub(crateconst fn d_fmt(locale: Locale) -> &'static str {
        locale_match!(locale => LC_TIME::D_FMT)
    }

    pub(crateconst fn d_t_fmt(locale: Locale) -> &'static str {
        locale_match!(locale => LC_TIME::D_T_FMT)
    }

    pub(crateconst fn t_fmt(locale: Locale) -> &'static str {
        locale_match!(locale => LC_TIME::T_FMT)
    }

    pub(crateconst fn t_fmt_ampm(locale: Locale) -> &'static str {
        locale_match!(locale => LC_TIME::T_FMT_AMPM)
    }
}

#[cfg(feature = "unstable-locales")]
pub(crateuse localized::*;
#[cfg(feature = "unstable-locales")]
pub use pure_rust_locales::Locale;

#[cfg(not(feature = "unstable-locales"))]
mod unlocalized {
    #[derive(Copy, Clone, Debug)]
    pub(cratestruct Locale;

    pub(crateconst fn default_locale() -> Locale {
        Locale
    }

    pub(crateconst fn short_months(_locale: Locale) -> &'static [&'pan>static str] {
        &["Jan""Feb""Mar""Apr""May""Jun""Jul""Aug""Sep""Oct""Nov""Dec"]
    }

    pub(crateconst fn long_months(_locale: Locale) -> &'static [&'an>static str] {
        &[
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December",
        ]
    }

    pub(crateconst fn short_weekdays(_locale: Locale) -> &'static [&'</span>static str] {
        &["Sun""Mon""Tue""Wed""Thu""Fri""Sat"]
    }

    pub(crateconst fn long_weekdays(_locale: Locale) -> &'static [&'span>static str] {
        &["Sunday""Monday""Tuesday""Wednesday""Thursday""Friday""Saturday"]
    }

    pub(crateconst fn am_pm(_locale: Locale) -> &'static [&'static str] {
        &["AM""PM"]
    }

    pub(crateconst fn decimal_point(_locale: Locale) -> &'static str {
        "."
    }
}

#[cfg(not(feature = "unstable-locales"))]
pub(crateuse unlocalized::*;

Messung V0.5 in Prozent
C=99 H=100 G=99

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002