Namespaces | Macros | Functions
time_zone_format_test.cc File Reference
#include "absl/time/internal/cctz/include/cctz/time_zone.h"
#include <chrono>
#include <iomanip>
#include <sstream>
#include <string>
#include "absl/time/internal/cctz/include/cctz/civil_time.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Include dependency graph for time_zone_format_test.cc:

Go to the source code of this file.

Namespaces

 absl
 
 absl::time_internal
 
 absl::time_internal::cctz
 

Macros

#define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone)
 

Functions

 absl::time_internal::cctz::TEST (Format, TimePointResolution)
 
 absl::time_internal::cctz::TEST (Format, TimePointExtendedResolution)
 
 absl::time_internal::cctz::TEST (Format, Basics)
 
 absl::time_internal::cctz::TEST (Format, PosixConversions)
 
 absl::time_internal::cctz::TEST (Format, LocaleSpecific)
 
 absl::time_internal::cctz::TEST (Format, Escaping)
 
 absl::time_internal::cctz::TEST (Format, ExtendedSeconds)
 
 absl::time_internal::cctz::TEST (Format, ExtendedSubeconds)
 
 absl::time_internal::cctz::TEST (Format, CompareExtendSecondsVsSubseconds)
 
 absl::time_internal::cctz::TEST (Format, ExtendedOffset)
 
 absl::time_internal::cctz::TEST (Format, ExtendedSecondOffset)
 
 absl::time_internal::cctz::TEST (Format, ExtendedYears)
 
 absl::time_internal::cctz::TEST (Format, RFC3339Format)
 
 absl::time_internal::cctz::TEST (Format, RFC1123Format)
 
 absl::time_internal::cctz::TEST (Parse, TimePointResolution)
 
 absl::time_internal::cctz::TEST (Parse, TimePointExtendedResolution)
 
 absl::time_internal::cctz::TEST (Parse, Basics)
 
 absl::time_internal::cctz::TEST (Parse, WithTimeZone)
 
 absl::time_internal::cctz::TEST (Parse, LeapSecond)
 
 absl::time_internal::cctz::TEST (Parse, ErrorCases)
 
 absl::time_internal::cctz::TEST (Parse, PosixConversions)
 
 absl::time_internal::cctz::TEST (Parse, LocaleSpecific)
 
 absl::time_internal::cctz::TEST (Parse, ExtendedSeconds)
 
 absl::time_internal::cctz::TEST (Parse, ExtendedSecondsScan)
 
 absl::time_internal::cctz::TEST (Parse, ExtendedSubeconds)
 
 absl::time_internal::cctz::TEST (Parse, ExtendedSubecondsScan)
 
 absl::time_internal::cctz::TEST (Parse, ExtendedOffset)
 
 absl::time_internal::cctz::TEST (Parse, ExtendedSecondOffset)
 
 absl::time_internal::cctz::TEST (Parse, ExtendedYears)
 
 absl::time_internal::cctz::TEST (Parse, RFC3339Format)
 
 absl::time_internal::cctz::TEST (Parse, MaxRange)
 
 absl::time_internal::cctz::TEST (FormatParse, RoundTrip)
 
 absl::time_internal::cctz::TEST (FormatParse, RoundTripDistantFuture)
 
 absl::time_internal::cctz::TEST (FormatParse, RoundTripDistantPast)
 

Macro Definition Documentation

#define ExpectTime (   tp,
  tz,
  y,
  m,
  d,
  hh,
  mm,
  ss,
  off,
  isdst,
  zone 
)
Value:
do { \
time_zone::absolute_lookup al = tz.lookup(tp); \
EXPECT_EQ(y, al.cs.year()); \
EXPECT_EQ(m, al.cs.month()); \
EXPECT_EQ(d, al.cs.day()); \
EXPECT_EQ(hh, al.cs.hour()); \
EXPECT_EQ(mm, al.cs.minute()); \
EXPECT_EQ(ss, al.cs.second()); \
EXPECT_EQ(off, al.offset); \
EXPECT_TRUE(isdst == al.is_dst); \
EXPECT_STREQ(zone, al.abbr); \
} while (0)

Definition at line 36 of file time_zone_format_test.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59