chromium/v8/test/unittests/date/date-unittest.cc

// Copyright 2022 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/date/date.h"

#include "src/execution/isolate.h"
#include "src/handles/global-handles.h"
#include "src/init/v8.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {

namespace internal {

class DateTest : public TestWithContext {};

class DateCacheMock : public DateCache {};

static int64_t TimeFromYearMonthDay(DateCache* date_cache, int year, int month,
                                    int day) {}

TEST_F(DateTest, DaylightSavingsTime) {}

namespace {
int legacy_parse_count =;
void DateParseLegacyCounterCallback(v8::Isolate* isolate,
                                    v8::Isolate::UseCounterFeature feature) {}
}  // anonymous namespace

TEST_F(DateTest, DateParseLegacyUseCounter) {}

}  // namespace internal
}  // namespace v8