blob: 44a6bf4545ad409ed239643470ab17a4f16f1356 [file] [log] [blame]
K. Moon832a6942022-10-31 20:11:31 +00001// Copyright 2017 The PDFium Authors
Dan Sinclairf4736722017-11-27 18:10:47 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#include "xfa/fxfa/parser/cxfa_day.h"
8
Tom Sepez148c1442019-01-25 18:56:26 +00009#include "fxjs/xfa/cjx_node.h"
Tom Sepez757a6bf2020-09-17 17:22:38 +000010#include "xfa/fxfa/parser/cxfa_document.h"
Tom Sepez148c1442019-01-25 18:56:26 +000011
Dan Sinclairc40c5aa2017-11-30 21:29:11 +000012CXFA_Day::CXFA_Day(CXFA_Document* doc, XFA_PacketType packet)
Dan Sinclairf4736722017-11-27 18:10:47 +000013 : CXFA_Node(doc,
14 packet,
Tom Sepez0c057582021-08-17 17:37:23 +000015 XFA_XDPPACKET::kLocaleSet,
Dan Sinclairf4736722017-11-27 18:10:47 +000016 XFA_ObjectType::ContentNode,
17 XFA_Element::Day,
Tom Sepezc0fa5f62019-01-25 20:07:27 +000018 {},
19 {},
Tom Sepez757a6bf2020-09-17 17:22:38 +000020 cppgc::MakeGarbageCollected<CJX_Node>(
21 doc->GetHeap()->GetAllocationHandle(),
22 this)) {}
Dan Sinclairf4736722017-11-27 18:10:47 +000023
Tom Sepez7fc43dd2018-12-13 17:54:26 +000024CXFA_Day::~CXFA_Day() = default;