11#include <com/sun/star/lang/IllegalArgumentException.hpp>
13#include <rtl/math.hxx>
43 double seconds = rtl_math_uStringToDouble(sDateTime.getStr() + nIdx,
44 sDateTime.getStr() + sDateTime.getLength(),
'.', 0,
48 aDateTime.NanoSeconds = ::rtl::math::round(seconds * 1000000000);
49 const int secondsOverflow = (
aDateTime.Seconds == 60) ? 61 : 60;
74 if (author.id.toInt32() ==
nId)
83 throw css::lang::IllegalArgumentException();
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)
sal_Int32 toInt32(std::u16string_view str, sal_Int16 radix=10)
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)
sal_uInt32 toUInt32(std::u16string_view str, sal_Int16 radix=10)