Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MySQL/bench/   (MySQL Server Version 8.1-8.4©)  Datei vom 12.11.2025 mit Größe 3 kB image not shown  

Quelle  test_weekday_method.bas   Sprache: unbekannt

 
Spracherkennung für: .bas vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

'
' 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/.
'

Option Explicit

Function doUnitTest as String
    dim aDate as Date
    aDate = Date()
    ' WEEKDAY
    If ( Weekday( aDate ) <> WeekDay( aDate ) ) Then
        doUnitTest = "FAIL"
    Else
        doUnitTest = "OK"
    End If
End Function

[ Dauer der Verarbeitung: 0.97 Sekunden  ]