DateParameterMapper.hpp 744 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-03-31
  6. * Changed: 2023-04-01
  7. *
  8. * */
  9. #ifndef LS_STD_DATE_PARAMETER_MAPPER_HPP
  10. #define LS_STD_DATE_PARAMETER_MAPPER_HPP
  11. #include "DateParameter.hpp"
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. #include <ls-std/time/type/DateParameterTypes.hpp>
  14. namespace ls::std::time
  15. {
  16. class LS_STD_DYNAMIC_GOAL DateParameterMapper
  17. {
  18. public:
  19. DateParameterMapper();
  20. ~DateParameterMapper();
  21. #if defined(unix) || defined(__APPLE__)
  22. [[nodiscard]] static ls::std::time::type::UnixTimestamp toUnixTimestamp(const ls::std::time::DateParameter &_dateParameter);
  23. #endif
  24. };
  25. }
  26. #endif