Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDateTimeParser::SectionNode Struct Reference

#include <qdatetimeparser_p.h>

+ Collaboration diagram for QDateTimeParser::SectionNode:

Public Member Functions

QString name () const
 
QString format () const
 
int maxChange () const
 

Static Public Member Functions

static QString name (Section s)
 

Public Attributes

Section type
 
int pos
 
int count
 
int zeroesAdded
 

Detailed Description

Definition at line 104 of file qdatetimeparser_p.h.

Member Function Documentation

◆ format()

◆ maxChange()

int QDateTimeParser::SectionNode::maxChange ( ) const

Max number of units that can be changed by this section.

Definition at line 2003 of file qdatetimeparser.cpp.

References QDateTimeParser::DayOfWeekSectionLong, QDateTimeParser::DayOfWeekSectionShort, QDateTimeParser::DaySection, QDateTimeParser::Hour12Section, QDateTimeParser::Hour24Section, QDateTimeParser::MinuteSection, QDateTimeParser::MonthSection, QDateTimeParser::MSecSection, name(), qUtf16Printable, qWarning, QDateTimeParser::SecondSection, QDateTimeParser::YearSection, and QDateTimeParser::YearSection2Digits.

Referenced by QDateTimeParser::parse().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ name() [1/2]

QString QDateTimeParser::SectionNode::name ( ) const
inline

Definition at line 111 of file qdatetimeparser_p.h.

References name().

Referenced by maxChange(), and name().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ name() [2/2]

Member Data Documentation

◆ count

int QDateTimeParser::SectionNode::count

◆ pos

◆ type

◆ zeroesAdded

int QDateTimeParser::SectionNode::zeroesAdded

Definition at line 108 of file qdatetimeparser_p.h.


The documentation for this struct was generated from the following files: