LLVM 22.0.0git
llvm::format_provider< sys::TimePoint<> > Struct Reference

Format provider for TimePoint<> More...

#include "llvm/Support/Chrono.h"

Inheritance diagram for llvm::format_provider< sys::TimePoint<> >:
[legend]

Static Public Member Functions

static LLVM_ABI void format (const sys::TimePoint<> &TP, llvm::raw_ostream &OS, StringRef Style)

Detailed Description

Format provider for TimePoint<>

The options string is a strftime format string, with extensions:

  • L is millis: 000-999
  • f is micros: 000000-999999
  • N is nanos: 000000000 - 999999999

If no options are given, the default format is "%Y-%m-%d %H:%M:%S.%N".

Definition at line 92 of file Chrono.h.

Member Function Documentation

◆ format()

References LLVM_ABI.


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