aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/dokka-multiplatform-example/src/commonMain/kotlin/org/kotlintestmpp/CommonDateUtils.kt
blob: b241f5ead99baa2dcc7a6701a8ec98d95fedcfc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.kotlintestmpp.date

/**
 * Common `expect` declaration
 */
expect fun getCurrentDate(): String

/**
 * Common date util function
 */
fun getDate(): String {
    return "Today's Date is ${getCurrentDate()}"
}