ost::Datetime(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– ost::Datetime β€” the manual page, but make it make sense πŸ’–

okay bestie, gather round, because we're reading the ost::Datetime(3) page from the Library Functions Manual and honestly? it's giving main character energy. it's part of GNU CommonC++ and it's literally just a little date-and-time icon. let's get into it πŸ’…


✨ NAME ✨

ost::Datetime β€” The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time.


🌸 SYNOPSIS 🌸

#include <numbers.h>

Inherits ost::Date, and ost::Time. yes babe it's a nepo baby, it inherits from both parents πŸ’…

πŸ‘‘ Public Member Functions

Datetime (time_t tm)
Datetime (tm *dt)
Datetime (const char *str, size_t size=0)
Datetime (int year, unsigned month, unsigned day, int hour, int minute,
    int second)
Datetime ()
virtual ~Datetime ()
char * getDatetime (char *buffer) const
time_t getDatetime (void) const
bool isValid (void) const
Datetime & operator= (const Datetime datetime)
Datetime & operator+= (const Datetime &datetime)
Datetime & operator-= (const Datetime &datetime)
Datetime & operator+= (const Time &time)
Datetime & operator-= (const Time &time)
int operator== (const Datetime &)
int operator!= (const Datetime &)
int operator< (const Datetime &)
int operator<= (const Datetime &)
int operator> (const Datetime &)
int operator>= (const Datetime &)
bool operator! () const
String strftime (const char *format) const

πŸ¦‹ Additional Inherited Members

(they exist. they're inherited. that's the vibe. iykyk 🌈)


πŸ’œ Detailed Description πŸ’œ

The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time.

This is then manipulated in several forms and may be exported as needed.

Author

Marcelo Dalmas <mad@brasmap.com.br>

Integer based time class. periodt. πŸ’–


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

ost::Datetime::Datetime (time_t tm)

ost::Datetime::Datetime (tm * dt)

ost::Datetime::Datetime (const char * str, size_t size = 0)

ost::Datetime::Datetime (int year, unsigned month, unsigned day, int hour, int minute, int second)

ost::Datetime::Datetime ()

virtual ost::Datetime::~Datetime () [virtual]


⭐ Member Function Documentation ⭐

char* ost::Datetime::getDatetime (char * buffer) const

time_t ost::Datetime::getDatetime (void) const

bool ost::Datetime::isValid (void) const

bool ost::Datetime::operator! () const

int ost::Datetime::operator!= (const Datetime &)

Datetime& ost::Datetime::operator+= (const Datetime & datetime)

Datetime& ost::Datetime::operator+= (const Time & time)

Datetime& ost::Datetime::operator-= (const Datetime & datetime)

Datetime& ost::Datetime::operator-= (const Time & time)

int ost::Datetime::operator< (const Datetime &)

int ost::Datetime::operator<= (const Datetime &)

Datetime& ost::Datetime::operator= (const Datetime datetime)

int ost::Datetime::operator== (const Datetime &)

int ost::Datetime::operator> (const Datetime &)

int ost::Datetime::operator>= (const Datetime &)

String ost::Datetime::strftime (const char * format) const


🌈 Author 🌈

Generated automatically by Doxygen for GNU CommonC++ from the source code.


and that's the whole page bestie, no cap, every single line accounted for. this was generated by Doxygen for GNU CommonC++, dated Sun Dec 27 2020, and it ate fr fr. mwah πŸ’‹βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from