# AmfDate

class AmfDate(var date: Double = TimeUtils.getCurrentTimeMillis().toDouble()) : AmfData

Created by pedro on 19/07/22.

milliseconds from 1st Jan 1970 in UTC time zone. timeZone value is a reserved value that should be 0x0000

## Constructors

AmfDate
Link copied to clipboard
constructor(date: Double = TimeUtils.getCurrentTimeMillis().toDouble())

## Properties

date
Link copied to clipboard
var date: Double

## Functions

getSize
Link copied to clipboard
open override fun getSize(): Int
getType
Link copied to clipboard
open override fun getType(): AmfType
readBody
Link copied to clipboard
open override fun readBody(input: InputStream)
readHeader
Link copied to clipboard
fun readHeader(input: InputStream): AmfType
toString
Link copied to clipboard
open override fun toString(): String
writeBody
Link copied to clipboard
open override fun writeBody(output: OutputStream)
writeHeader
Link copied to clipboard
fun writeHeader(output: OutputStream)