Skip to content

Commit

Permalink
CSAS-12 add header into CommonJsonFormats
Browse files Browse the repository at this point in the history
  • Loading branch information
tomskikh committed Aug 30, 2018
1 parent a9de710 commit aeae2e0
Showing 1 changed file with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.bwsw.cloudstack.entities.common

import java.time.OffsetDateTime
Expand All @@ -6,9 +24,6 @@ import java.util.UUID

import spray.json.{JsString, JsValue, JsonFormat, deserializationError}

/**
* @author Pavel Tomskikh
*/
object CommonJsonFormats {
val dateTimeFormatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd['T'][ ]HH:mm:ss[ ]X")

Expand Down

0 comments on commit aeae2e0

Please sign in to comment.