Bump version to 6.4.7.2.M8
[LibreOffice.git] / basic / qa / basic_coverage / test_cdatetounodatetimecdatefromunodatetime_methods.vb
blob9aa5680b1f8c000aa89d423daa103e1f0c5fb070
2 ' This file is part of the LibreOffice project.
4 ' This Source Code Form is subject to the terms of the Mozilla Public
5 ' License, v. 2.0. If a copy of the MPL was not distributed with this
6 ' file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 Function doUnitTest as Integer
10 dim aDate as Date
11 aDate = Now()
12 ' CDateToUnoDateTime CDateFromUnoDateTime
13 If ( CDateFromUnoDateTime( CDateToUnoDateTime( aDate ) ) <> aDate ) Then
14 doUnitTest = 0
15 Else
16 doUnitTest = 1
17 End If
18 End Function