docs/api/exposed-jodatime/org.jetbrains.exposed.v1.jodatime/-month/index.html
class Month<T : DateTime?>(val expr: Expression<T>) : Function<Int>
Represents an SQL function that extracts the month field from a given datetime expr.
MembersMembers & Extensions
Link copied to clipboard
constructor(expr: Expression<T>)
Link copied to clipboard
open override val columnType: IColumnType<Int>
Link copied to clipboard
val expr: Expression<T>
Link copied to clipboard
fun <T : DateTime?> Expression<T>.date(): Date<T>
Returns the date from this datetime expression.
Link copied to clipboard
fun <T : DateTime?> Expression<T>.day(): Day<T>
Returns the day from this datetime expression, as an integer between 1 and 31 inclusive.
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun <T : DateTime?> Expression<T>.hour(): Hour<T>
Returns the hour from this datetime expression, as an integer between 0 and 23 inclusive.
Link copied to clipboard
fun <T : DateTime?> Expression<T>.minute(): Minute<T>
Returns the minute from this datetime expression, as an integer between 0 and 59 inclusive.
Link copied to clipboard
fun <T : DateTime?> Expression<T>.month(): Month<T>
Returns the month from this datetime expression, as an integer between 1 and 12 inclusive.
Link copied to clipboard
fun <T : DateTime?> Expression<T>.second(): Second<T>
Returns the second from this datetime expression, as an integer between 0 and 59 inclusive.
Link copied to clipboard
fun <T : DateTime?> Expression<T>.time(): Time<T>
Returns the time from this datetime expression.
Link copied to clipboard
open override fun toQueryBuilder(queryBuilder: QueryBuilder)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun <T : DateTime?> Expression<T>.year(): Year<T>
Returns the year from this datetime expression, as an integer.
Generated by Dokka © 2026 Copyright