DateTimeHelper.cxx (2f86921c) | DateTimeHelper.cxx (59ddfc10) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 18 unchanged lines hidden (view full) --- 27#include <stdio.h> 28#include <osl/time.h> 29#include <com/sun/star/util/DateTime.hpp> 30#include "DateTimeHelper.hxx" 31 32using namespace com::sun::star::util; 33using namespace rtl; 34 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 18 unchanged lines hidden (view full) --- 27#include <stdio.h> 28#include <osl/time.h> 29#include <com/sun/star/util/DateTime.hpp> 30#include "DateTimeHelper.hxx" 31 32using namespace com::sun::star::util; 33using namespace rtl; 34 |
35using namespace webdav_ucp; | 35using namespace http_dav_ucp; |
36 37bool DateTimeHelper::ISO8601_To_DateTime (const OUString& s, 38 DateTime& dateTime) 39{ 40 OString aDT (s.getStr(), s.getLength(), RTL_TEXTENCODING_ASCII_US); 41 42 int year, month, day, hours, minutes, off_hours, off_minutes, fix; 43 double seconds; --- 223 unchanged lines hidden --- | 36 37bool DateTimeHelper::ISO8601_To_DateTime (const OUString& s, 38 DateTime& dateTime) 39{ 40 OString aDT (s.getStr(), s.getLength(), RTL_TEXTENCODING_ASCII_US); 41 42 int year, month, day, hours, minutes, off_hours, off_minutes, fix; 43 double seconds; --- 223 unchanged lines hidden --- |