Public Member Functions
FIX::UtcDate Class Reference

Date only represented in UTC. More...

#include <FieldTypes.h>

Inheritance diagram for FIX::UtcDate:
Inheritance graph
[legend]
Collaboration diagram for FIX::UtcDate:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UtcDate ()
 Defaults to the current date.
 UtcDate (const DateTime &val)
 UtcDate (int date, int month, int year)
 UtcDate (int sec)
 UtcDate (const tm *time)
void setCurrent ()
 Set to the current time.

Detailed Description

Date only represented in UTC.

Definition at line 551 of file FieldTypes.h.


Constructor & Destructor Documentation

FIX::UtcDate::UtcDate ( ) [inline]

Defaults to the current date.

Definition at line 555 of file FieldTypes.h.

References setCurrent().

  {
    setCurrent();
  }
FIX::UtcDate::UtcDate ( const DateTime val) [inline]

Definition at line 560 of file FieldTypes.h.

References FIX::DateTime::clearTime().

  : DateTime( val )
  {
    clearTime();
  }
FIX::UtcDate::UtcDate ( int  date,
int  month,
int  year 
) [inline]

Definition at line 566 of file FieldTypes.h.

  : DateTime(year, month, date, 0, 0, 0, 0) {}
FIX::UtcDate::UtcDate ( int  sec) [inline]

Definition at line 569 of file FieldTypes.h.

FIX::UtcDate::UtcDate ( const tm *  time) [inline]

Definition at line 572 of file FieldTypes.h.

References FIX::DateTime::clearTime().

  : DateTime( fromTm (*time) )
  {
    clearTime();
  }

Member Function Documentation

void FIX::UtcDate::setCurrent ( ) [inline]

Set to the current time.

Definition at line 579 of file FieldTypes.h.

References FIX::DateTime::m_date, and FIX::DateTime::nowUtc().

Referenced by UtcDate().

  {
    DateTime d = nowUtc();
    m_date = d.m_date;
  }

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

Generated on Mon Sep 15 2014 01:23:57 for QuickFIX by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2001