Package org.lwjgl.sdl

Class SDLTime

java.lang.Object
org.lwjgl.sdl.SDLTime

public class SDLTime extends Object
  • Field Details

    • SDL_DATE_FORMAT_YYYYMMDD

      public static final int SDL_DATE_FORMAT_YYYYMMDD
      See Also:
    • SDL_DATE_FORMAT_DDMMYYYY

      public static final int SDL_DATE_FORMAT_DDMMYYYY
      See Also:
    • SDL_DATE_FORMAT_MMDDYYYY

      public static final int SDL_DATE_FORMAT_MMDDYYYY
      See Also:
    • SDL_TIME_FORMAT_24HR

      public static final int SDL_TIME_FORMAT_24HR
      See Also:
    • SDL_TIME_FORMAT_12HR

      public static final int SDL_TIME_FORMAT_12HR
      See Also:
  • Method Details

    • nSDL_GetDateTimeLocalePreferences

      public static boolean nSDL_GetDateTimeLocalePreferences(long dateFormat, long timeFormat)
      bool SDL_GetDateTimeLocalePreferences(SDL_DateFormat * dateFormat, SDL_TimeFormat * timeFormat)
    • SDL_GetDateTimeLocalePreferences

      public static boolean SDL_GetDateTimeLocalePreferences(@Nullable IntBuffer dateFormat, @Nullable IntBuffer timeFormat)
      bool SDL_GetDateTimeLocalePreferences(SDL_DateFormat * dateFormat, SDL_TimeFormat * timeFormat)
    • nSDL_GetCurrentTime

      public static boolean nSDL_GetCurrentTime(long ticks)
      bool SDL_GetCurrentTime(SDL_Time * ticks)
    • SDL_GetCurrentTime

      public static boolean SDL_GetCurrentTime(LongBuffer ticks)
      bool SDL_GetCurrentTime(SDL_Time * ticks)
    • nSDL_TimeToDateTime

      public static boolean nSDL_TimeToDateTime(long ticks, long dt, boolean localTime)
      bool SDL_TimeToDateTime(SDL_Time ticks, SDL_DateTime * dt, bool localTime)
    • SDL_TimeToDateTime

      public static boolean SDL_TimeToDateTime(long ticks, SDL_DateTime dt, boolean localTime)
      bool SDL_TimeToDateTime(SDL_Time ticks, SDL_DateTime * dt, bool localTime)
    • nSDL_DateTimeToTime

      public static boolean nSDL_DateTimeToTime(long dt, long ticks)
      bool SDL_DateTimeToTime(SDL_DateTime const * dt, SDL_Time * ticks)
    • SDL_DateTimeToTime

      public static boolean SDL_DateTimeToTime(SDL_DateTime dt, LongBuffer ticks)
      bool SDL_DateTimeToTime(SDL_DateTime const * dt, SDL_Time * ticks)
    • nSDL_TimeToWindows

      public static void nSDL_TimeToWindows(long ticks, long dwLowDateTime, long dwHighDateTime)
      void SDL_TimeToWindows(SDL_Time ticks, Uint32 * dwLowDateTime, Uint32 * dwHighDateTime)
    • SDL_TimeToWindows

      public static void SDL_TimeToWindows(long ticks, @Nullable IntBuffer dwLowDateTime, @Nullable IntBuffer dwHighDateTime)
      void SDL_TimeToWindows(SDL_Time ticks, Uint32 * dwLowDateTime, Uint32 * dwHighDateTime)
    • SDL_TimeFromWindows

      public static long SDL_TimeFromWindows(int dwLowDateTime, int dwHighDateTime)
      SDL_Time SDL_TimeFromWindows(Uint32 dwLowDateTime, Uint32 dwHighDateTime)
    • SDL_GetDaysInMonth

      public static int SDL_GetDaysInMonth(int year, int month)
      int SDL_GetDaysInMonth(int year, int month)
    • SDL_GetDayOfYear

      public static int SDL_GetDayOfYear(int year, int month, int day)
      int SDL_GetDayOfYear(int year, int month, int day)
    • SDL_GetDayOfWeek

      public static int SDL_GetDayOfWeek(int year, int month, int day)
      int SDL_GetDayOfWeek(int year, int month, int day)