NTime Class Reference

NTime class provides an easy to use time manipulation class. More...

List of all members.

Public Member Functions

 NTime (void)
 Constructs a NTime class without any particular time.
 ~NTime (void)
 Destroys a NTime class freeing any used resources.
NString now (void) const
 Gets the current time.
NString now (const NString &format) const
 Gets the current time in a given format.


Detailed Description

NTime class provides an easy to use time manipulation class.

Definition at line 39 of file ntime.h.


Member Function Documentation

NString now ( void   )  const

Gets the current time.

Returns:
The current time

Definition at line 49 of file ntime.cpp.

Referenced by NDateTime::now().

NString now ( const NString format  )  const

Gets the current time in a given format.

Parameters:
format Time format as defined by strftime function
Returns:
The current time in the given format

Definition at line 54 of file ntime.cpp.

References NString::toChar().


The documentation for this class was generated from the following files:
Generated on Wed Mar 5 23:10:37 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4