Temporal.h 439 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibJS/Runtime/Object.h>
  8. namespace JS::Temporal {
  9. class Temporal final : public Object {
  10. JS_OBJECT(Temporal, Object);
  11. JS_DECLARE_ALLOCATOR(Temporal);
  12. public:
  13. virtual void initialize(Realm&) override;
  14. virtual ~Temporal() override = default;
  15. private:
  16. explicit Temporal(Realm&);
  17. };
  18. }