v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::DateParser::TimeComposer Class Reference
Collaboration diagram for v8::internal::DateParser::TimeComposer:

Public Member Functions

 TimeComposer ()
 
bool IsEmpty () const
 
bool IsExpecting (int n) const
 
bool Add (int n)
 
bool AddFinal (int n)
 
void SetHourOffset (int n)
 
bool Write (double *output)
 

Static Public Member Functions

static bool IsMinute (int x)
 
static bool IsHour (int x)
 
static bool IsSecond (int x)
 

Static Private Member Functions

static bool IsHour12 (int x)
 
static bool IsMillisecond (int x)
 

Private Attributes

int comp_ [kSize]
 
int index_
 
int hour_offset_
 

Static Private Attributes

static const int kSize = 4
 

Detailed Description

Definition at line 294 of file dateparser.h.

Constructor & Destructor Documentation

◆ TimeComposer()

v8::internal::DateParser::TimeComposer::TimeComposer ( )
inline

Definition at line 296 of file dateparser.h.

Member Function Documentation

◆ Add()

bool v8::internal::DateParser::TimeComposer::Add ( int n)
inline

Definition at line 302 of file dateparser.h.

Here is the caller graph for this function:

◆ AddFinal()

bool v8::internal::DateParser::TimeComposer::AddFinal ( int n)
inline

Definition at line 305 of file dateparser.h.

Here is the call graph for this function:

◆ IsEmpty()

bool v8::internal::DateParser::TimeComposer::IsEmpty ( ) const
inline

Definition at line 297 of file dateparser.h.

◆ IsExpecting()

bool v8::internal::DateParser::TimeComposer::IsExpecting ( int n) const
inline

Definition at line 298 of file dateparser.h.

Here is the call graph for this function:

◆ IsHour()

static bool v8::internal::DateParser::TimeComposer::IsHour ( int x)
inlinestatic

Definition at line 314 of file dateparser.h.

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

◆ IsHour12()

static bool v8::internal::DateParser::TimeComposer::IsHour12 ( int x)
inlinestaticprivate

Definition at line 318 of file dateparser.h.

Here is the call graph for this function:

◆ IsMillisecond()

static bool v8::internal::DateParser::TimeComposer::IsMillisecond ( int x)
inlinestaticprivate

Definition at line 319 of file dateparser.h.

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

◆ IsMinute()

static bool v8::internal::DateParser::TimeComposer::IsMinute ( int x)
inlinestatic

Definition at line 313 of file dateparser.h.

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

◆ IsSecond()

static bool v8::internal::DateParser::TimeComposer::IsSecond ( int x)
inlinestatic

Definition at line 315 of file dateparser.h.

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

◆ SetHourOffset()

void v8::internal::DateParser::TimeComposer::SetHourOffset ( int n)
inline

Definition at line 310 of file dateparser.h.

◆ Write()

bool v8::internal::DateParser::TimeComposer::Write ( double * output)

Definition at line 67 of file dateparser.cc.

Member Data Documentation

◆ comp_

int v8::internal::DateParser::TimeComposer::comp_[kSize]
private

Definition at line 322 of file dateparser.h.

◆ hour_offset_

int v8::internal::DateParser::TimeComposer::hour_offset_
private

Definition at line 324 of file dateparser.h.

◆ index_

int v8::internal::DateParser::TimeComposer::index_
private

Definition at line 323 of file dateparser.h.

◆ kSize

const int v8::internal::DateParser::TimeComposer::kSize = 4
staticprivate

Definition at line 321 of file dateparser.h.


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