21#include <rtl/ustrbuf.hxx>
30 sal_Int32
nCount = lSource.getLength();
31 css::uno::Sequence< css::beans::NamedValue > lDestination(
nCount);
32 auto lDestinationRange = asNonConstRange(lDestination);
33 for (sal_Int32 nItem=0; nItem<
nCount; ++nItem)
35 lDestinationRange[nItem].Name = lSource[nItem].Name;
36 lDestinationRange[nItem].Value = lSource[nItem].Value;
46 std::vector<OUString> lDestination;
47 sal_Int32
nCount = lSource.getLength();
49 lDestination.reserve(
nCount);
50 for (sal_Int32 nItem = 0; nItem <
nCount; ++nItem)
52 lDestination.push_back(lSource[nItem]);
60 OUStringBuffer sBuffer(25);
62 sal_Int32 nYear = aSource.
GetYear();
63 sal_Int32 nMonth = aSource.
GetMonth();
64 sal_Int32 nDay = aSource.
GetDay();
66 sal_Int32 nHour = aSource.
GetHour();
67 sal_Int32 nMin = aSource.
GetMin();
68 sal_Int32 nSec = aSource.
GetSec();
72 sBuffer.append(
"000");
77 sBuffer.append( nYear );
83 sBuffer.append( nMonth );
89 sBuffer.append( nDay );
95 sBuffer.append( nHour );
101 sBuffer.append( nMin );
107 sBuffer.append( nSec );
112 return sBuffer.makeStringAndClear();
sal_Int16 GetYear() const
sal_uInt16 GetDay() const
sal_uInt16 GetMonth() const
static OUString convert_DateTime2ISO8601(const DateTime &aSource)
static std::vector< OUString > convert_seqOUString2OUStringList(const css::uno::Sequence< OUString > &lSource)
converts a sequence of unicode strings into a vector of such items
static css::uno::Sequence< css::beans::NamedValue > convert_seqPropVal2seqNamedVal(const css::uno::Sequence< css::beans::PropertyValue > &lSource)
converts a sequence of PropertyValue to a sequence of NamedValue.