- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
if TPlatformServices.Current.SupportsPlatformService(IFMXLocaleService, IInterface(LocaleService)) then
S := LocaleService.GetLocaleFirstDayOfWeek
else
S := '6';
FFirstDayOfWeekNum := Ord(S.Chars[0]) - Ord('0');
{$IFDEF MACOS}
FFirstDayOfWeekNum:= Ord(S.Chars[0]) + Ord('0');
{$ENDIF}
{$IFDEF ANDROID}
FFirstDayOfWeekNum := FFirstDayOfWeekNum - MondayOffset;
{$ENDIF}
Lopata 28.05.2015 15:23 # 0