package de.schunterkino.kinoapi.websocket.messages.christie;

import java.time.Instant;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;

import de.schunterkino.kinoapi.websocket.messages.BaseMessage;

public class LampOffMessage extends BaseMessage {
	public String timestamp;

	public LampOffMessage(Instant lampOffTime) {
		super("playback", "lamp_off");

		DateTimeFormatter formatter = DateTimeFormatter.ISO_DATE_TIME.withZone(ZoneId.systemDefault());
		this.timestamp = formatter.format(lampOffTime);
	}
}

@@ -84,76 +84,8 @@
 ant;
-%0Aimport java.time.ZoneId;%0Aimport java.time.format.DateTimeFormatter;
 %0A%0Aim
@@ -306,106 +306,10 @@
 %22);%0A
-%0A
 %09%09
-DateTimeFormatter formatter = DateTimeFormatter.ISO_DATE_TIME.withZone(ZoneId.systemDefault());
 %0A%09%09t
@@ -328,25 +328,8 @@
 p = 
-formatter.format(
 lamp
@@ -335,16 +335,26 @@
 pOffTime
+.toString(
 );%0A%09%7D%0A%7D%0A

Fix timestamp format in lamp_off message