Einzelnen Beitrag anzeigen

QuickAndDirty

Registriert seit: 13. Jan 2004
Ort: Hamm(Westf)
2.058 Beiträge
 
Delphi 12 Athens
 
#5

AW: Android 15 und OneUI7.0 werden die Uhrzeiten 12 Stunden format angezeigt

  Alt 27. Mai 2025, 08:53
Die funktion die funktionieren muss ist
Delphi-Quellcode:
 udat_open: function(timeStyle: UDateFormatStyle; dateStyle: UDateFormatStyle;
    const locale: MarshaledAString; const tzID: PUChar; tzIDLenght: Int32;
    const pattern: PUChar; patternLenght: Int32; var status: UErrorCode): PUDateFormat; cdecl;
aus der unit System.Internal.ICU

das ist die C funktion
https://unicode-org.github.io/icu-do...d86a00211c4807

Delphi-Quellcode:
udat_open: function(
timeStyle: UDateFormatStyle; //UDateFormatStyle timeStyle
dateStyle: UDateFormatStyle; //UDateFormatStyle dateStyle
const locale: MarshaledAString; //const char* locale
const tzID: PUChar; //const UChar* tzID
tzIDLenght: Int32; //int32_t tzIDLength
const pattern: PUChar; //const UChar* pattern
patternLenght: Int32; //int32_t patternLength
var status: UErrorCode //UErrorCode* status
): PUDateFormat; cdecl; //U_CAPI UDateFormat*
daran hat sich anscheinend nichts geändert sieht korrekt importiert aus.

hm
Andreas
Nobody goes there anymore. It's too crowded!

Geändert von QuickAndDirty (27. Mai 2025 um 09:04 Uhr)
  Mit Zitat antworten Zitat