KItinerary::IataBcbpRepeatedMandatorySection

Search for usage in LXR

KItinerary::IataBcbpRepeatedMandatorySection Class Reference

#include <iatabcbpsections.h>

Inheritance diagram for KItinerary::IataBcbpRepeatedMandatorySection:

Public Member Functions

 IataBcbpRepeatedMandatorySection (QStringView data)
 
Q_INVOKABLE QDate dateOfFlight (const QDateTime &contextDate=QDateTime::currentDateTime()) const
 
bool isValid () const
 

Additional Inherited Members

- Protected Member Functions inherited from KItinerary::IataBcbpSectionBase
int readNumericValue (int offset, int length, int base) const
 
QString readString (int offset, int length) const
 
- Protected Attributes inherited from KItinerary::IataBcbpSectionBase
QStringView m_data
 

Detailed Description

Repeated mandatory sections of an IATA BCBP, occurs once per leg.

Definition at line 81 of file iatabcbpsections.h.

Member Function Documentation

◆ dateOfFlight()

QDate IataBcbpRepeatedMandatorySection::dateOfFlight ( const QDateTime contextDate = QDateTime::currentDateTime()) const

Date of the flight.

Parameters
contextDateA date before the flight to determine the full year which is not specified in the pass itself.

Definition at line 100 of file iatabcbpsections.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:55:23 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.