wavelength 1.0.0
Loading...
Searching...
No Matches
datetime.h File Reference
#include "os/binstream.h"
#include "os/prnstream.h"
#include "os/string.h"
Include dependency graph for datetime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DateTime
 Local date and time of the console clock. More...

Functions

PrnStream & operator<< (PrnStream &stream, const DateTime &date)
 Write a date and time as FormatDateTime() does.
BinStream & operator<< (BinStream &stream, const DateTime &date)
 Write the six bytes of a date.
BinStream & operator>> (BinStream &stream, DateTime &date)
 Read the six bytes of a date.

Function Documentation

◆ operator<<() [1/2]

PrnStream & operator<< ( PrnStream & stream,
const DateTime & date )

Write a date and time as FormatDateTime() does.

Parameters
streamThe stream.
dateThe date.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00288bf0
Ghidra address:
PAL: 0x002924a0

◆ operator<<() [2/2]

BinStream & operator<< ( BinStream & stream,
const DateTime & date )

Write the six bytes of a date.

Parameters
streamThe stream.
dateThe date.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00288c68
Ghidra address:
PAL: 0x00292518

◆ operator>>()

BinStream & operator>> ( BinStream & stream,
DateTime & date )

Read the six bytes of a date.

Parameters
streamThe stream.
dateReceives the date.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00288d70
Ghidra address:
PAL: 0x002925d8