diff options
author | Jack Leigh <leighman@gmx.se> | 2012-10-03 16:35:47 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-10-04 10:35:48 +0100 |
commit | af4df7ac089134df888ada3cd36b27a0b62babab (patch) | |
tree | c237c91be40d55d4f5b2ee8a1eb775e63172f106 /basic/source/inc/date.hxx | |
parent | Version name/dependency cleanup towards 3.7 (diff) | |
download | core-af4df7ac089134df888ada3cd36b27a0b62babab.tar.gz core-af4df7ac089134df888ada3cd36b27a0b62babab.zip |
fdo#48257 collect function prototypes from basic/ into single header file
Change-Id: I1666e64b2b611054e1a713a76575e2f06781f80a
Diffstat (limited to 'basic/source/inc/date.hxx')
-rw-r--r-- | basic/source/inc/date.hxx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/basic/source/inc/date.hxx b/basic/source/inc/date.hxx new file mode 100644 index 000000000000..cd38c896d1df --- /dev/null +++ b/basic/source/inc/date.hxx @@ -0,0 +1,37 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef _SBDATE_HXX +#define _SBDATE_HXX + +bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double& rdRet ); + +sal_Int16 implGetWeekDay( double aDate, bool bFirstDayParam = false, sal_Int16 nFirstDay = 0 ); + +sal_Int16 implGetDateYear( double aDate ); +sal_Int16 implGetDateMonth( double aDate ); +sal_Int16 implGetDateDay( double aDate ); + +sal_Int16 implGetHour( double dDate ); +sal_Int16 implGetMinute( double dDate ); +sal_Int16 implGetSecond( double dDate ); + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |